主权项 |
1. A method comprising:
serializing an object comprising content displayed on a web page in a web browser on a client device; establishing a connection between the client device and a server device, wherein the connection is a full duplex communication channel for communication between the client device and the server device; sending, from the client device, the serialized object over the full duplex communication channel to the server device; receiving, at the client device, another serialized object from the server device, the another serialized object comprising updated content associated with the object; and deserializing, at the client device, the updated content of the another serialized object received from the server device; wherein the serializing, establishing, sending, receiving, and deserializing are performed using one or more script-based libraries, wherein the script-based libraries are accessible by script-based code defining the web page and displaying the content of the object and the updated content on the web page, and wherein the script-based libraries are configured to serialize and send only the updated content.
|