Prototype is a Java Script framework that aims to ease development of dynamic web applications. Its development is driven heavily by the Ruby on Rails framework, but it can be used in any environment.
Its author and maintainer is Sam Stephenson.
More information is available at the Prototype JavaScript framework website.
For the latest and most complete documentation of Prototype API visit the Official API documentation
A general ”quick guide” introductory article can be found at http://particletree.com/features/quick-guide-to-prototype/
Loads of documentation can be found at http://www.sergiopereira.com/articles/prototype.js.html
more here: http://blogs.ebusiness-apps.com/jordan/pages/Prototype%20Library%20Info.htm
Current version
prototype V1.4.0
Reference
General functions
Object class methods
Class class methods
Number instance methods
Array instance methods
Function instance methods
String instance methods
Document class methods
Element class methods
Event class methods
Ajax
Insertion
Observer
Form
Useful code snippets and 3rd party extensions to prototype.js
- OnlyLatestOfClass Simple patch which allows AJAX requests to be made which supercede previous requests of the same class. Earlier instances of the same request are then aborted before making a new one, helping avoid queues of redundant requests, and undesired behaviour when superceded requests complete out of order.
- ExtendClass Simple Prototype extension that provides object-oriented class extension with initializer chaining.
- ExtendClassFurther Another Prototype extension that adds Ruby-like class-OO fetures such as “super”, Mixin, etc.
- ExtendForPrototype Allows traditional single-class inheritance, without the problems of using ExtendClass or ExtendClassFurther (there is a working “super” replacement)
- Behaviour sample of rules declaration as in behaviour style using the $$() css selector (prototype >= 1.5.0)
- Cookie an extension to work with cookies.