Download This Article
Download this article or the entire “Eight Weeks of Prototype” series
with all listings and files.
More information
Related Books
By Douglas Crockford
Most programming languages contain good and bad parts, but JavaScript has more than its share...
By Earle Castledine, Craig Sharkie
jQuery: Novice to Ninja is a compilation of best-practice jQuery solutions to meet the most...
Browse Articles
Ajax (4),
Amazon (1),
APC (1),
CAPTCHA (1),
CSS (3),
Debugging (1),
File Upload (1),
Google (3),
Google Maps (2),
JavaScript (12),
JSON (2),
MVC (1),
MySQL (8),
onbeforeunload (1),
OOP (1),
PHP (35),
PhpDoc (1),
PostgreSQL (6),
Prototype (11),
Reflection (1),
RFC 1867 (1),
Robots (1),
Scriptaculous (1),
SEO (1),
Sessions (2),
SimpleXML (1),
Smarty (5),
SOAP (2),
SPL (1),
Templates (2),
W3C (1),
XHTML (1),
Zend Framework (7),
Zend_Loader (1),
Zend_Registry (1),
Zend_Search_Lucene (1)
|
Home »
Articles »
Eight Weeks of Prototype: Week 3, Prototype Data Types
Eight Weeks of Prototype: Week 3, Prototype Data Types
Object Context
Most of the methods in the Enumerable accept an extra argument, used to define the context of the iterator method. Essentially what this does it define what the keyword this refers to when used inside of the iterator.
While this is an extremely important concept in development with Prototype, it is generally only relevant when developing your own classes in Prototype. I will discuss object binding further in the sixth part of this article series.
|
In This Article
|
|