Eight Weeks of Prototype: Week 3, Prototype Data Types
Summary
In this article we looked the different data types available in Prototype. A large number of new methods have been added to existing JavaScript data types to make most functionality very simple to code.
We looked extensively at enumerables and specifically, the Hash type. Enumerables are very useful and come up frequently when developing with Prototype (such as selecting elements from the Document Object Model with $$() or select()).
In the next article of "Eight Weeks of Prototype" we will look at how to handle events in Prototype. This includes both native browser events as well as how to make use of custom events in your development.
- Download a PDF version of this article
- View or post comments for this article
- Browse similar articles by tag: JavaScript, Prototype
-
Read related articles:
- Eight Weeks of Prototype: Week 1, Beginning with Prototype
- Eight Weeks of Prototype: Week 2, How Prototype Extends Elements
- Eight Weeks of Prototype: Week 4, Event Handling in Prototype
- Eight Weeks of Prototype: Week 5, Ajax with Prototype
- Eight Weeks of Prototype: Week 6, Writing JavaScript Classes with Prototype
- Eight Weeks of Prototype: Week 7, Other Prototype Functionality
- Eight Weeks of Prototype: Week 8, A Complete Prototype Example


