In the last session, we finished looking at the different variable types, so with session 4 we moved back to components and took them to another level: instance-based components. We also took a peek at the Administrator API and reviewed the concepts of component prototyping. This session was first conducted on July 16, 2009 and took only 1.5 hours.
Table of Contents:
Part 1: Instance-Based Components
- Instantiating
- Public Properties
- Private Properties and the Getter/Setter Approach
- Restricting Invocation of Methods
- onMissingMethod()
Part 2: Built-In Components and the Administrator API
Part 3: Prototyping Components
Best Practices and Reminders
Applying What We Learned
Ye ol' disclaimer: These sessions are not exact copies of the Adobe materials. I sometimes combine units, removed all “homework”, removed all the Dreamweaver dependent stuff, occasionally reorder the content order, and I rewrite large chunks and add in my own materials where I feel necessary/relevant. As such, any errors here are likely mine. I did, however, retain some of their example images and some of their basic example code and queries (in which case, errors may also be theirs).
