17. A method comprising: implementing, by a processor, a domain security model disallowing interaction between content from different origins across inline frames receiving from a first origin, and rendering, by the processor, a base document, wherein the base document comprises one or more module inline frame elements, for each module inline frame element, loading, from respective second origins, a module document within an inline frame, wherein the module document comprises a messenger object and one or more of identified module objects; wherein each messenger object is configured to create, within a corresponding module inline frame, a messenger inline frame element including a location attribute identifying the first origin; responsive to a message sent by the module object, add the message to the location attribute; and provide a new message detected in the location attribute of the messenger in line frame element to the module object; wherein the base document further comprises a module connector object operative to access location attributes of one or more messenger inline frame elements to check for new messages; and responsive to a new message, add the new message to one or more location attributes of corresponding messenger inline frame elements.
17. A method comprising: implementing, by a processor, a domain security model disallowing interaction between content from different origins across inline frames receiving from a first origin, and rendering, by the processor, a base document, wherein the base document comprises one or more module inline frame elements, for each module inline frame element, loading, from respective second origins, a module document within an inline frame, wherein the module document comprises a messenger object and one or more of identified module objects; wherein each messenger object is configured to create, within a corresponding module inline frame, a messenger inline frame element including a location attribute identifying the first origin; responsive to a message sent by the module object, add the message to the location attribute; and provide a new message detected in the location attribute of the messenger in line frame element to the module object; wherein the base document further comprises a module connector object operative to access location attributes of one or more messenger inline frame elements to check for new messages; and responsive to a new message, add the new message to one or more location attributes of corresponding messenger inline frame elements. 19. The method of claim 17 further comprising defining a messaging application programming interface accessible to the module objects.