Methods and systems for providing a user interface in a multi-tenant database environment
First Claim
1. A method for providing a user interface in an on-demand service environment, the method comprising:
- receiving, by a processor system, a first indication of a component definition to instantiate, the component definition comprising a portion of a component definition data structure;
instantiating, by the processor system, a provided component in accordance with the component definition;
instantiating, by the processor system, attributes of the component definition data structure to produce a component instance tree data structure;
determining, by the processor system, that an attribute of an object of the component instance tree data structure indicates a designated one of a plurality of serialization methods, the object being a root object instance at a first level of a hierarchy of the component instance tree data structure;
serializing, by the processor system, the component according to the designated serialization method, serializing the component including serializing the object and a child object, the child object at a second level of the hierarchy of the component instance tree data structure, the second level being lower than the first level;
generating, by the processor system, a reference identifier associated with the serialized component;
transmitting, to a client device, the serialized component and the reference identifier, the serialized component comprising a version of the component instance tree data structure, and the serialized component allowing the client device to create an instance of the component in memory;
receiving, by the processor system, a second indication of a component definition to instantiate;
determining, by the processor system, that the second indication is associated with the component definition of the first indication and that the serialized component has been transmitted to the client device; and
transmitting, to the client device, the reference identifier associated with the serialized component responsive to the determination that the serialized component has been transmitted to the client device.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, devices and systems for providing a user interface in an on-demand software service environment are described. Some implementations involve receiving an indication of a component definition to instantiate. The component definition may be a portion of a component definition data structure. Such implementations may also involve instantiating the provided component, instantiating all remaining attributes of the component definition data structure to produce a component instance data structure and transmitting an intermediate representation of the indicated component to a client device. The intermediate representation may comprise a version of the component instance data structure. The intermediate representation may allow the client device to create an instance of the component in memory.
216 Citations
22 Claims
-
1. A method for providing a user interface in an on-demand service environment, the method comprising:
-
receiving, by a processor system, a first indication of a component definition to instantiate, the component definition comprising a portion of a component definition data structure; instantiating, by the processor system, a provided component in accordance with the component definition; instantiating, by the processor system, attributes of the component definition data structure to produce a component instance tree data structure; determining, by the processor system, that an attribute of an object of the component instance tree data structure indicates a designated one of a plurality of serialization methods, the object being a root object instance at a first level of a hierarchy of the component instance tree data structure; serializing, by the processor system, the component according to the designated serialization method, serializing the component including serializing the object and a child object, the child object at a second level of the hierarchy of the component instance tree data structure, the second level being lower than the first level; generating, by the processor system, a reference identifier associated with the serialized component; transmitting, to a client device, the serialized component and the reference identifier, the serialized component comprising a version of the component instance tree data structure, and the serialized component allowing the client device to create an instance of the component in memory; receiving, by the processor system, a second indication of a component definition to instantiate; determining, by the processor system, that the second indication is associated with the component definition of the first indication and that the serialized component has been transmitted to the client device; and transmitting, to the client device, the reference identifier associated with the serialized component responsive to the determination that the serialized component has been transmitted to the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for providing a user interface in an on-demand service environment, the apparatus comprising:
-
a network interface; and a processor system comprising at least one processor, the processor system configured for; receiving a first indication of a component definition to instantiate, the component definition comprising a portion of a component definition data structure; instantiating a component in accordance with the component definition; instantiating attributes of the component definition data structure to produce a component instance tree data structure comprising at least one expression or formula; determining that an attribute of an object of the component instance tree data structure indicates a designated one of a plurality of serialization methods, the object being a root object instance at a first level of a hierarchy of the component instance tree data structure; serializing the component according to the designated serialization method, serializing the component including serializing the object and a child object, the child object at a second level of the hierarchy of the component instance tree data structure, the second level being lower than the first level; generating a reference identifier associated with the serialized component; transmitting, to a client device, the serialized representation of the component and the reference identifier, the serialized component comprising a version of the component instance tree data structure, and the serialized component allowing the client device to create an instance of the component in memory; receiving a second indication of a component definition to instantiate; determining that the second indication is associated with the component definition of the first indication and that the serialized component has been transmitted to the client device; and transmitting, to the client device, the reference identifier associated with the serialized component responsive to the determination that the serialized component has been transmitted to the client device. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A machine-readable medium carrying one or more sequences of instructions for providing a user interface in an on-demand service environment, which instructions, when executed by one or more processors, cause the one or more processors to carry out the following processes:
-
receiving a first indication of a component definition to instantiate, the component definition comprising a portion of a component definition data structure; instantiating a component in accordance with the component definition; instantiating attributes of the component definition data structure to produce a component instance tree data structure; determining that an attribute of an object of the component instance tree data structure indicates a designated one of a plurality of serialization methods, the object being a root object instance at a first level of a hierarchy of the component instance tree data structure; serializing the component according to the designated serialization method, serializing the component including serializing the object and a child object, the child object at a second level of the hierarchy of the component instance tree data structure, the second level being lower than the first level; generating a reference identifier associated with the serialized component; transmitting, to a client device, the serialized component and the reference identifier, the serialized component comprising a version of the component instance tree data structure, the serialized component allowing the client device to create an instance of the component in memory; receiving a second indication of a component definition to instantiate; determining that the second indication is associated with the component definition of the first indication and that the serialized component has been transmitted to the client device; and transmitting, to the client device, the reference identifier associated with the serialized component responsive to the determination that the serialized component has been transmitted to the client device. - View Dependent Claims (20, 21, 22)
-
Specification