Sunday, 1 July 2007

My Simple UI Development Guide

-UI part is working with variable javascript components (js file : button, list and so on).

-Those components are gathered in container (UIManager component).

-Components are initialized and shown. All components are written in pure HTML/CSS/Javascript (method : getHTML).

-When the page (xsl file) is loading, all components and HTML representations are written into the page as HTML thus they are shown.

-DOM methods are used later. First components are generated as HTML (getHTML call).

-During page is loading this HTML is rendered and UIManager calls init method of each component (to bind JavaScript object and DOM objects)

-Also repaint method is used to adjust sizes and other stuff.

Download presition file

No comments: