This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developing AJAX applications.
Controller
In the previous section we discussed a set of abstractions that are
sub-classes of the component. A component class abstracts some behavior and
to implement that, it might add a set of event listeners to its elements.
Those event handlers are encapsulated in the component class and serves as
its controllers. But in a bigger scheme of things, they are fully contained
in the component class and can be considered a part of the View.
Besides component-spec... (more)
This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developing AJAX applications.
An AJAX UI Versus Server-Side Presentation
JSP, JSF, special tags, configuration files, and tld files are all replaced
by client-side HTML templates, components, and controller... (more)
This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developing AJAX applications.
XMLToDataSet Class
In the previous sections, we've discussed the HTML template and a component
class called "NavBar." Next we'll discuss more templates and the component
clas... (more)
This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developing AJAX applications.
The Web Page as an Application
AJAX is the right technology for a Web-enabled rich user interface (UI). But
as with any technology, unstructured software created using it is a ... (more)
This content is reprinted from Real-World AJAX: Secrets of the Masters
published by SYS-CON Books. To order the entire book now along with companion
DVDs for the special pre-order price, click here for more information. Aimed
at everyone from enterprise developers to self-taught scripters, Real-World
AJAX: Secrets of the Masters is the perfect book for anyone who wants to
start developing AJAX applications.
Change Set for Server-Client Interaction
When the user makes changes to the data, all the changes can be recorded
locally up to some point or sent to the server immediately. It... (more)