Patent ID: 8196096

Claim:
A method performed by a computer system to create custom code for extending a user interface, the method comprising: creating view objects for components that are available for inclusion in an extension to the user interface; displaying a visual representation of the created view objects; receiving a selection of a view object and an indication of adding the view object to a design surface; generating a visual representation of the view object in the design surface; displaying properties and events for the view object within the design surface, wherein the properties indicating visual characteristics of the view object, and the events indicating events relating to the view object that the custom code is to respond; receiving values for the properties and the events; and generating by the computer system the custom code for implementing the extension to the user interface represented by the design surface with the properties and the events, wherein generating the custom code is based on an alternate model for a primary model for extending the user interface, and the primary model uses a non-programmatic description of a relation between the view objects and uses a callback mechanism for providing notifications of the events.