Downloadify: Interaction of files in the browser without any server involvement

26 Jan, 2010, by Team Sheriff || Topics: Script

Hey Readers, Win 25 Citrify Premium Licenses How to Participate and Win!!! :-D . Stay tuned for more premium giveaways coming next by subscribing toRSS feed or Subscribe to App Sheriff - Sworn To Serve by Email. Good Luck Guys!

Downloadify is a combination of JavaScript and Flash library. The Downloadify allows the generation and saving of the files in the browser without any server interaction. In short, the Downloadify is a client-side file generation.

downloadify

Some web applications would benefit by using this library especially the ones that would allow you to generate the vCards, color palettes, custom code etc. This isn’t a library that is created to ‘force download’ a file from a server. Actually it does not interact with a server at all. In addition to the increasing speed where there is no round trip to the server, this solution can reduce the database and the server load of the existing web applications.

There is a Demo to check out the working of the Downloadify and you can also download it. There are instructions given in the website on how to work on it.
The Flash 10 brought in the ability to generate the files on the client-side and then to trigger a save to the user’s computer. As the Flash 10 gained its popularity all around, it has been wanting the need of broad us. It has now crossed 93% install base and its high time to make broad use of this feature!

The user must click anywhere in the Flash file so as to trigger the download meant for security reasons. The Downloadify along with the JavaScript calls back with the Downloadify.swf to allow your code to respond to the click event and then to pass your data at that instant. Whatever the data maybe, it is passed in from your function and will be saved to their hard-drive.

Some features of the Downloadify includes a ~3KB of JavaScript, ~2KB SWF, ~2KB Image. It also enables the creation and download of any text based file without requiring any server interaction. It enables faster downloads when re-purposing the data that is already contained in a page such as the vCard, iCal etc. It only requires the swfobject. There is no other JavaScript library or framework that is required for use. The jQuery plugin helper is included in the code. Normal, Hover and the Down states are there on the download image. There is an open source under the MIT License. Documentation is also featured on this site. The documentation presently consists of a detailed Read Me file on the Github.

Bookmark and Share

Leave a Reply