Scriptaculous and other libraries, such as Rico are build on Prototype's foundations to create widgets and other end-user stuff.
Extends DOM elements and built-in types with useful methods.
Has built-in support for class-style OOP including inheritance.
Has advanced support for event management.
Has powerful Ajax features.
Is not a complete application development framework.
Does not provide widgets or a full set of standard algorithms or I/O systems.
Prototype is distributed as a single file called prototype.js. Follow the below mentioned steps to setup the prototype library −
Go to the download page (http://prototypejs.org/download/) to grab the latest version in a convenient package.
You are now ready to use the powerful Prototype framework in your web pages.
Now, you can include the Prototype script as follows −
A very good documentation for Prototype Framework is available at prototypejs.org then why should one refer to this tutorial!
The answer is that we have put all the most commonly used functionalities together in this tutorial. Secondly, we have explained all the useful methods along with suitable examples, which are not available at the official site.
If you are an advanced user of Prototype Framework, then you can directly jump to the official website, otherwise this tutorial could be a good start for you and you can use it like a reference manual.