[ engine demonstrations | engine overview | imnmotion.com | Stephen W. Cote ]
Demonstration #16 shows one approach to making a DHTML Window using Engine for Web Applications. A DHTML Window is a combination of JavaScript, CSS, the DOM, and, as is used in this example, asynchronously loaded XML (AJAX). This example stands apart from other examples because Engine for Web Applications grew from a rewrite of the MDI library, as is discussed in The Separation of Functionality from Content. The first part of this demonstration will show how the widget is constructed using Application Components. The second part of this demonstration will show how the Engine Service is used to reduce the amount of code required, and provide a better downlevel experience.
A Note About Browser Support: Many demonstrations, including this one, use the EngineService module of Engine for Web Applications, which relies to some degree on XPath. Some browsers, including Opera up to 8.5, and Safari up to 1.3, do not support XPath and therefore the module will not operate. The EngineService module is entirely optional and is used in the demonstrations for its convenience.
The files required for this demonstration are as follows. It is necessary to change the path references if attempting to directly implement these files.
Gizmos go here