Patent ID: 7853884

Claim:
A method for generating a graphical user interface (GUI), comprising: mapping a request from a client to a control tree factory residing on a server for generating a response; generating a control tree from the control tree factory based on the request, wherein the control tree can include a plurality of controls, wherein each control of the plurality of controls is associated with a software class that represents a graphical element of a the GUI; wherein each said control can be dynamically added to the control tree during a control tree lifecycle; using a render queue to collect a subset of the control tree that are selected for pre-rendering, wherein the subset of the control tree contains one or more controls of the plurality of controls; dispatching each control in the render queue to a separate render worker using a separate thread; pre-rendering the subset of the control tree in the render queue before the control tree is processed; advancing the control tree, including the pre-rendered subset of the control tree, through at least one lifecycle stage based on the request and updating the control tree; and generating the response based on the control tree that is updated, wherein the response can be used to render at least a portion of the GUI on the client.