Developer Notes for prototype.js
Today, with my friend and co-worked Sbatman, we were trying to understand how the famous prototype.js library works.
For not-Ajax developer: <blockquote>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 2.0 developers everywhere.</blockquote>
After an afternoon without appreciable results ( ), Sbatman found that documentation online: Developer Notes for prototype.js.
What is it? In case you haven't already used it, prototype.js is a JavaScript library written by Sam Stephenson. This amazingly well thought and well written piece of standards-compliant code takes a lot of the burden associated with creating rich, highly interactive web pages that characterize the Web 2.0 off your back. If you tried to use this library recently, you probably noticed that documentation is not one of its strongest points. As many other developers before me, I got my head around prototype.js by reading the source code and experimenting with it. I thought it would be nice to take notes while I learned and share with everybody else.