New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.

A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.

Rails 2.3.4 + SWFUpload: Gracefully Degrading Rails File Uploads

In Elsewhere, Tutorials

uploader.png Over on the Jetpack Flight Log, Brian Racer demonstrates how to use SWFUpload with Rails 2.3.4 to implement slick, yet gracefully degrading, Rails file uploads powered by Flash. It's an impressive walkthrough post.

If you've uploaded photos or videos to Flickr or YouTube, you should be familiar with Flash-powered uploading. Instead of selecting a file and then waiting on a precarious HTTP request to send all of the data, Flash based uploading results in a Flash widget doing all of the hard work on screen - you even get upload progress "out of the box."

While you can use Brian's techniques in your own app, he's also put together swfupload_demo, a complete demo app that shows SWFUpload in action to power a MP3 repository of sorts. It not only processes the upload of MP3s but it also uses an embedded MP3 player to let you play the tracks you upload into the app right on the page.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

Leave a Reply