Client-side callbacks to server events
AssigneeMicrosoft Corporation
InventorsBradley D. Millington, Andrew Cheng-Min Lin, Nikhil Kothari
Life of this patent
Estimating the term…
Abstract
Described herein are systems and methods for client-side callbacks to server events in which a Web server receives a message indicating a client-side event. The client-side event is associated with a specific component of a client resource, the specific component being one of multiple static components of the client resource. A server-side component generates a response to the received message and implements at least a subset of logic of the specific component. In generating the response to the message, server-side logic corresponding to other static components that are different than the specific component are not used.
Claims37
A method comprising:
- injecting a callback script, wherein the callback script is injected by a hierarchy of one or more server-side components for processing client-side events;
- specifying, by one or more of the server-side components, a callback handler for handling a client-side event at a client, wherein the callback handler is specified prior to a client-side event;
- receiving, by a Web server, a message indicating the client-side event which is associated with a specific component of a client resource, the specific component being one of multiple static components of the client resource, and wherein the received message identifies the one or more server-side components to process the client-side event;
- identifying, on the server-side, the one or more server-side components that correspond to the specific component to process the client-side event;
- communicating information from the received message to the one or more identified server-side components;
- generating, by the one or more identified server-side components, a response to the message, wherein the response is not a full page postback, and wherein the one or more identified server-side components implement at least a subset of logic of the specific component, the server-side logic corresponding to other ones of the multiple static components not being used to generate the response;
- and
- sending the response data to the callback handler.
A method comprising:
- receiving a callback script, wherein the callback script is received by a client device from a hierarchy of one or more server-side components for processing client-side events;
- receiving an indication of a callback handler for handling a client-side event, wherein the indication of the callback is received by a client device from one or more server-side components prior to a client-side event;
- identifying the client-side event which is associated with at least one specific component of a resource being hosted by the client device, the resource comprising a plurality of static components that include the at least one specific component;
- identifying the one or more server-side components that logically correspond to the at least one specific component to process the client-side event;
- communicating, by the client device, a message to the identified one or more server-side components, the message identifying the client-side event associated with the at least one specific component and the identified one or more server-side components;
- and
- receiving by the callback handler, a response to the message from a Web server, the response being generated by the identified one or more server-side components that logically correspond to the at least one specific component, the response not comprising data generated by any server-side component associated with respective ones of the static components different than the specific component, and wherein the response is not a full page postback.
A computer-readable storage medium comprising computer-executable instructions stored in a memory for execution by a processor for client-side callbacks to server events, the computer-executable instructions comprising instructions for:
- injecting a callback script, wherein the callback script is injected by a hierarchy of one or more server-side controls for processing client-side events;
- specifying, by one or more of the server-side components, a callback handler for handling a client-side event, wherein the callback handler is specified prior to the client-side event;
- receiving, by the one or more server-side controls, a message indicating the client-side event associated with a specific component of a client resource, the specific component being one of a plurality of static components of the client resource, the message being targeted only to a subset of the server-side controls, and wherein the received message identifies the subset of the server-side controls to process the client-side event;
- identifying, on the server-side, the subset of the server-side controls that corresponds to the specific component to process the client-side event;
- communicating information from the received message to the identified subset of the server-side controls;
- generating, by the subset of the server-side controls, a response to the message, wherein the response is not a postback of the client resource;
- sending the response data to the callback handler;
- and
- rendering data in the response into a markup language for presentation on a display device.
A computer-readable storage medium comprising computer-executable instructions stored in a memory for execution by a processor for client-side callbacks to server events, the computer-executable instructions comprising instructions for:
- receiving a callback script, wherein the callback script is received by a client computing device from a hierarchy of one or more server-side controls for processing client-side events;
- receiving an indication of a callback handler for handling a client-side event, wherein the indication is received by a client device from one or more server-side components prior to the client-side event;
- identifying the client-side event which is associated with at least one specific component of a resource being hosted by the client computing device, the resource comprising a plurality of static components that include the at least one specific component;
- identifying the one or more server-side controls for processing the client-side event;
- communicating, by the client device, a message to the identified server-side controls, the message identifying the client-side event associated with one or more particular components of the static components and the identified server-side controls;
- receiving, by the by the callback handler, a response to the message, wherein the response is not a full page postback and wherein the response is generated by the one or more identified server-side controls;
- and
- rendering data in the response into a markup language for presentation on a display device.
A server computing device for handling client-side callbacks to server events, the computing device comprising:
- a processor;
- and
- a memory coupled to the processor, the memory comprising computer-program instructions executable by the processor for:
- injecting a callback script, wherein the callback script is injected by a hierarchy of one or more server-side components for processing client-side events;
- specifying, by one or more of the server-side components, a callback handler, wherein the callback handler is specified prior to a client-side event;
- receiving a message indicating a client-side event associated with a specific component of a client resource, the specific component being one of a plurality of static components of the client resource, and wherein the received message identifies the one or more server-side components to process the client-side event;
- identifying, on the server-side, the one or more server-side components, that correspond to the specific component, to process the message;
- communicating information from the received message to the one or more identified server-side components;
- and
- generating, by the one or more server-side components, a response to the message, wherein the response is not a full page postback, and wherein server-side logic corresponding to other ones of the static components is not used to generate the response.
A client device computing device comprising:
- a processor;
- and
- a memory coupled to the processor, the memory comprising computer-program instructions executable by the processor for:
- receiving a callback script, wherein the callback script is received by a client device from a hierarchy of one or more server-side controls for processing client-side events;
- receiving an indication of a callback handler for handling a client-side event, wherein the indication is received by the client device from one or more server-side components prior to the client-side event;
- identifying the client-side event associated which is with at least one specific component of a resource being hosted by the client device, the resource comprising a plurality of static components that include the at least one specific component;
- identifying the one or more server-side controls that logically correspond to the at least one specific component to process the client-side event;
- communicating a message to the identified one or more server-side controls, the message identifying a client-side event associated with at the least one specific component and the identified one or more server-side controls;
- and
- receiving a response to the message, wherein the response is not a full page postback and is not comprised of data generated by any server-side control associated with respective ones of the static components different than the specific component;
- and
- sending the response data to the callback handler.
Dependencies are inferred from the claim text.