发明名称 Application gateway in a browser based environment
摘要 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.
申请公布号 US9043807(B2) 申请公布日期 2015.05.26
申请号 US201213562108 申请日期 2012.07.30
申请人 Chegg, Inc. 发明人 Glazer Arieh;Eder-Pressman Ohad;Le Chevalier Vincent;Geiger Charles F.
分类号 G06F9/54;H04L29/06 主分类号 G06F9/54
代理机构 Fenwick & West LLP 代理人 Fenwick & West LLP
主权项 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.
地址 Santa Clara CA US