Wednesday, October 24, 2007

Prototype Javascript Framework

"Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.
Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere."


Of Late I had a chance to know about open source JavaScript Framework called Prototype while reading an article "Painless JavaScript Using Prototype". Prototype has been there since 2004 but now a days getting more focus because of AJAX hype. Prototype framework eases the javascript development and also teaches how javascript code needs to be written (i.e. object oriented way of writing). It has plenty of methods and helper functions to manipulate DOM and execute AJAX calls & without the help of prototype, coding those functions would be really tough, time consuming and error prone.

After tasting Prototype, my javascript programming (the way i write javascript code) has been changed tremendously and I could realize the benefits. I strongly recommend my friends who read my blog posts to have a look at
Prototype Framework and start using it in your projects. The API docs of Prototype can be found here here.

Prototype together with
Scriptaculos an add on for Prototype are must have Javascript Libraries.

To get a quick grip on Prototype, read
"Painless JavaScript Using Prototype". I'll also publish web 2.0 (AJAX Enabled) demo applications built using prototype and Scriptaculos. Already I coded a Photo Gallery & Film Strip Demo applications using Prototype, Scriptaculos, ASP.Net Web Services. In the Demo app, I leveraged few powerful prototype methods i.e. Iterators, Templates, Custom Event Binding [Attach & Detach], Calling ASP.NET Web Services From Client Code [With out using ASP.Net AJAX Libraries] etc. Articles on Photo gallery AJAX Demo Application is under way, I'll publish it in a short while.

No comments: