Web Application Design
At this point, a Java developer may have a couple of questions regarding the myapp
||UI elements, layout
||Style sheet for page1
||Main class for page1. Initialize components, register events, deal with method callbacks, and perform server interaction.
||Utility methods applicable to page1
||Abstraction of a DataTable instance used in page1
||UI elements and layout for page2
||Main class for page2
||Common utility methods
||Customized server connection class
||CSS properties for DataTable
If your application is more complicated than simple pages with a rich user interface, you should probably consider a different strategy for the class design.
More to Come
The next installment builds on this knowledge with an examination of YUI layouts, basic widgets, event handling, and server interaction. Stay tuned.