摘要:
Loading program modules with hierarchical relationship can include receiving a request for loading the program modules from a client, the request including root module information in the program modules to be loaded and, according to the root module information in the request, obtaining a root module to be loaded and child modules of the root module to be loaded using a central processing unit. The root module and the child modules of the root module can be sent to the client.
摘要:
A method, system and computer program product for preserving event data for lazily-loaded macro components. Upon detecting an event published by a publisher, the logical channel of the detected event is identified. If one of the macro components to be lazily-loaded is a primary receiver for that logical channel (determined by performing a table-lookup of a data structure containing a listing of macro components and their associated logical channels for which they are to be the primary receivers), then the indication of the logical channel of the detected event along with the data of the published event are stored as a key/value pair in a data structure. Upon the macro component to be lazily-loaded having been loaded, the data of the published event associated with the logical channel for which the loaded macro component is a primary receiver is retrieved and transmitted to that logical channel.
摘要:
A method, system and computer program product for updating the display state of the user interface of a subscriber client. A macro component definition file is inspected to obtain the listing of events associated with each macro component listed in the macro component definition file. An event callback function is created for each macro component listed in the macro component definition file, where the callback function will update the displayed user interface of the subscriber client to be the display state of the macro component when one its associated events is published by the publisher. Upon detecting a published event, the event callback function associated with the published event is executed thereby automatically updating the display state of the user interface of the subscriber client to be the display state of the macro component associated with the published event.
摘要:
A method, system and computer program product for preserving event data for lazily-loaded macro components. Upon detecting an event published by a publisher, the logical channel of the detected event is identified. If one of the macro components to be lazily-loaded is a primary receiver for that logical channel (determined by performing a table-lookup of a data structure containing a listing of macro components and their associated logical channels for which they are to be the primary receivers), then the indication of the logical channel of the detected event along with the data of the published event are stored as a key/value pair in a data structure. Upon the macro component to be lazily-loaded having been loaded, the data of the published event associated with the logical channel for which the loaded macro component is a primary receiver is retrieved and transmitted to that logical channel.