A Tree-Driven Approach


Instead of mixing data with presentation and suffering from rigidity of templates and regions, Java trees can be created and used to drive presentation. This allows the separation of data (or model of MVC) from presentation (or view). Trees are highly configurable and offer extreme flexibility. Tree nodes are used to store presentational logic, whereas tree structures represent page structures. Simple tree manipulations can create different page layouts, move page elements around, or remove some page elements altogether. Trees can also be assembled dynamically and be used for customization.

Wing Ming Chan

Wing Ming Chan

Web Programmer
SUNY Upstate Medical University
http://www.upstate.edu/

Wing has a PhD degree in linguistics and an MS degree in computer science, besides an MA degree in Chinese. He loves programming, and spends a lot of time doing that as a hobby. He also loves classical music, operas, and ballets. He is happily married and has two dogs.