US 7,451,127 B2
Web store events
Andrew Sinclair, Redmond, Wash. (US); Bruce Gage, Renton, Wash. (US); and In-Jerne Choe, Lynwood, Wash. (US)
Assigned to Microsoft Corporation, Redmond, Wash. (US)
Filed on Jan. 21, 2005, as Appl. No. 11/40,341.
Application 11/040341 is a continuation of application No. 09/680119, filed on Oct. 04, 2000, granted, now 6,876,995.
Prior Publication US 2005/0131862 A1, Jun. 16, 2005
Int. Cl. G06F 17/30 (2006.01)
U.S. Cl. 707—2 6 Claims
OG exemplary drawing
 
1. A computer program product for use in a system including a server having a store, wherein one or more clients have access to the store using a plurality of different protocols, the computer program product comprising:
one or more computer-readable physical storage media storing computer-executable instructions for implementing a method of executing application logic upon client access of an item within the store, wherein the method includes:
registering the application logic with one or more store events that abstract the plurality of different protocols from the application logic such that client communication using any of the plurality of different protocols can cause the application logic to execute;
firing an event that the application logic registered with in response to the client access to the item in store;
if the fired event is a synchronous event, then
suspending client access to the item;
providing complete control of the item to the application logic, wherein the application logic executes; and
if the application logic does not abort, resuming client access to the item and committing the item to the store;
if the fired event is an asynchronous event, then committing the item to the store; and
calling the application logic, wherein the application logic does not have complete control of the item.