PHP - XML Generator
by Mang-ping Chau
Developing a UI that manipulates large data sets is difficult. Developing a UI dynamically upon user request is even more difficult. In this article, Man-ping Grace Chau aims to discuss the difficulties in developing a complex UI, demonstrated by the XML/XSL generator made in the Infospheres Lab at the California Institute of Technology. Examples of how to generate JavaScript dynamically at run time and how to represent a complex DOM tree with simple HTML data structure will also be shown. Furthermore, the article will discuss the optimization of input validation. Several error checking/correction algorithms will be demonstrated. This application is developed in PHP5, with extensive use of the new XML library.