Application gateway in a browser based environment
First Claim
1. A computer-implemented method of providing a communications gateway between software components of a browser-based software application, the method comprising:
- registering at the gateway a first dispatching application programming interface (API) wrapper and a first listening API wrapper for a first component of the browser-based software application the first application component performing a first function of the application;
registering at the gateway a second dispatching API wrapper and a second listening API wrapper for a second component of the browser-based software application, the second application component performing a second function of the application;
receiving an action at the gateway that targets the first application component, the first application component'"'"'s listening API wrapper receiving the action for execution by the first application component; and
receiving, after the execution of the action, an event at the gateway that communicates a state of the first application component, the first application component'"'"'s dispatching API wrapper broadcasting the state, and the listening API wrapper of the second application component receiving the state.
4 Assignments
0 Petitions
Accused Products
Abstract
An application gateway enables controlled communication between application components within a browser based environment while maintaining a level of isolation of the individual application components. A dispatching API wrapper and a listening API wrapper are registered for each of a plurality of application components. The registered API wrappers are used to send and receive communications from the associated application components. For example, a first application component can dispatch an action to a second application component via the first application component'"'"'s dispatching API wrapper. The second application component can receive the action via the second application component'"'"'s listening API wrapper. As another example, a first application component can dispatch an event that broadcasts a state to other application components via the first application component'"'"'s dispatching API wrapper. A listening API wrapper of at least one other application component receives the state and may perform other functions dependent on the state.
-
Citations
16 Claims
-
1. A computer-implemented method of providing a communications gateway between software components of a browser-based software application, the method comprising:
-
registering at the gateway a first dispatching application programming interface (API) wrapper and a first listening API wrapper for a first component of the browser-based software application the first application component performing a first function of the application; registering at the gateway a second dispatching API wrapper and a second listening API wrapper for a second component of the browser-based software application, the second application component performing a second function of the application; receiving an action at the gateway that targets the first application component, the first application component'"'"'s listening API wrapper receiving the action for execution by the first application component; and receiving, after the execution of the action, an event at the gateway that communicates a state of the first application component, the first application component'"'"'s dispatching API wrapper broadcasting the state, and the listening API wrapper of the second application component receiving the state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing executable computer program instructions for providing a communications gateway between software components of a browser-based software application, the computer program instructions comprising instructions for:
-
registering at the gateway a first dispatching application programming interface (API) wrapper and a first listening API wrapper for a first component of the browser-based software application the first application component performing a first function of the application; registering at the gateway a second dispatching API wrapper and a second listening API wrapper for a second component of the browser-based software application, the second application component performing a second function of the application; receiving an action at the gateway that targets the first application component, the first application component'"'"'s listening API wrapper receiving the action for execution by the first application component; and receiving, after the execution of the action, an event at the gateway that communicates a state of the first application component, the first application component'"'"'s dispatching API wrapper broadcasting the state, and the listening API wrapper of the second application component receiving the state. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification