NADAV: Can you briefly explain the relationship between DHTML behaviors and scriptlets? How did behaviors evolve from scriptlets? What is the next evolutionary step?
MICHAEL: Scriptlets were our first shot at a component model for HTML, and behaviors are the evolution of that. Behaviors will superset all the functionality available in scriptlets, and we expect people to move to behaviors with IE 5 (although we still support scriptlets and their syntax).
With behaviors, we were trying to solve some of the problems that scriptlets left unsolved. Behaviors now allow the following: Declarative definition for methods, properties, and events - allowing the creation of new events; an "automation only" component; better performance and scalability; and better integration with the object model.
The next step? Well, that will have to wait for another day.
next page»