1. A method for providing a user interface in an on-demand software service environment, the method comprising: receiving an indication of a component definition to instantiate, the component definition comprising a portion of a component definition data structure; instantiating the provided component; instantiating all remaining attributes of the component definition data structure to produce a component instance data structure; and transmitting, to a client device, an intermediate representation of the indicated component, the intermediate representation comprising a version of the component instance data structure, the intermediate representation allowing the client device to create an instance of the component in memory.