摘要:
A mobile application enables an administrator of a page in a social networking system to manage the page from a mobile device, separate from a mobile application used to consume content on the social networking system. The administrator application may be used to post content on the page, add fans to the page, delete content posted by fans of the page, generate deals, manage advertising campaigns, and access real-time metrics and insights for the page. The administrator application may also enable a user to manage multiple pages that the user has been designated as an administrator. Loyalty programs may also be designed and implemented in real-time using the administrator application, enabling business owners to customize rewards for users generating check-in events at the place of business.
摘要:
In one embodiment, in response to the detection of an event initiated in connection with a first structured document rendered by a first client application executing on a host, the event related to a target structured document, a method includes receiving, by executable code segment embedded in with the first structured document and executing within the context of the first client application, a first request for resources, related to the target structured document, generated by the first client application; formulating and transmitting, by the executable code segment, a second request related to the target structured document to a remote server; accessing, by the executable code segment, one or more resources related to the target structured document; and rendering, by the executable code segment, content rendered by the first client application based at least in part on the one or more accessed resources.
摘要:
In one embodiment, a method includes, in response to a determination that one or more resources related to a requested target structured document are stored in a cache: accessing, by a first executable code segment embedded in a rendered structured document and executing within the context of a first client application, one or more resources related to the target structured document in the cache; calling, by the first executable code segment, one or more handler functions associated with corresponding resources of the target structured document, each handler function operative to transmit requests to a remote server for updates to a respective resource; and rendering, by the first executable code segment, content rendered by the first client application based at least in part on the one or more accessed resources in the cache and the updates retrieved by the one or more handler functions.
摘要:
In one embodiment, a method includes receiving a first request from a client for a target structured document and generating the target structured document and one or more parameters for one or more state objects associated with the client. In a particular embodiment, the method includes, in a first response phase, transmitting a first portion of the target structured document to the client. In a particular embodiment, the method further includes, in a second response phase, transmitting a second portion of the target structured document that includes a code segment. The method may additionally include receiving a second request from the client sent from the client as a result of the client executing the code segment, and transmitting a response to the second request that comprises the one or more parameters for the one or more state objects.
摘要:
In one embodiment, a method includes receiving a request for a target structured document. In a first response phase, the method includes accessing a data structure comprising an entry for the target structured document and one or more first resources associated with the target structured document, generating a first response portion including a first portion of the target structured document including one or more of the first resources or references for one or more of the first resources, and transmitting the first response portion to the client. The method further includes, in a second response phase, generating a second response portion that includes a second portion of the target structured document including one or more of: one or more second resources, or references for the one or more second resources, associated with the target structured document; and structured document language code, and transmitting the second response portion to the client.
摘要:
In one embodiment, a method includes receiving a request for a target structured document. In a first response phase, the method includes accessing a data structure comprising an entry for the target structured document and one or more first resources associated with the target structured document, generating a first response portion including a first portion of the target structured document including one or more of the first resources or references for one or more of the first resources, and transmitting the first response portion to the client. The method further includes, in a second response phase, generating a second response portion that includes a second portion of the target structured document including one or more of: one or more second resources, or references for the one or more second resources, associated with the target structured document; and structured document language code, and transmitting the second response portion to the client.
摘要:
In one embodiment, a method includes receiving a request for a target structured document. In a first response phase, the method includes accessing a data structure comprising an entry for the target structured document and one or more first resources associated with the target structured document, generating a first response portion including a first portion of the target structured document including one or more of the first resources or references for one or more of the first resources, and transmitting the first response portion to the client. The method further includes, in a second response phase, generating a second response portion that includes a second portion of the target structured document including one or more of: one or more second resources, or references for the one or more second resources, associated with the target structured document; and structured document language code, and transmitting the second response portion to the client.
摘要:
In one embodiment, a method includes accessing a resource list associated with a structured document loaded by a client application executing within a client device; identifying a first set of resources referenced in the resource list that are stored within a storage space of the client device; retrieving the first set of resources from the storage space; loading the first set of resources into a model representation of the structured document generated by a client document-rendering application for rendering by the client document-rendering application; identifying a second set of resources referenced in the resource list that are not stored within the storage space of the client device; formulating and transmitting one or more requests for the second set of resources; receiving the second set of resources in response to the requests; and loading the second set of resources into the model representation for rendering by the client document-rendering application.
摘要:
In one embodiment, a method includes receiving a first request from a client for a target structured document and generating the target structured document and one or more parameters for one or more state objects associated with the client. In a particular embodiment, the method includes, in a first response phase, transmitting a first portion of the target structured document to the client. In a particular embodiment, the method further includes, in a second response phase, transmitting a second portion of the target structured document that includes a code segment. The method may additionally include receiving a second request from the client sent from the client as a result of the client executing the code segment, and transmitting a response to the second request that comprises the one or more parameters for the one or more state objects.
摘要:
In one embodiment, computer-readable instructions, when executed, cause a client browser to wait for all of the markup language in a document object model to be loaded, and upon loading, parse the document object model for supported tags, create placeholder frames for each supported tag, and bundle all the tags into a single meta-request for a server. Upon receiving each response, the instructions are further operable to cause the client browser to replace the hidden frames with its corresponding response, thereby reducing the number of socket connections from the client to the server.