RPC server

August 18, 2008

Just finished the first cut of my RPC server, which is coded in Python. Client JavaScript code running in the browser subscribes to Liberator subjects, which invokes a subscription request in the RPC server. The server sends cached static data back up to the client on the Liberator subject. The data is sent as a serialized Python dictionary. So on the server side we can just apply str() to the Python dict. When the data arrives in the browser we can do a JavaScript eval() to turn it into a JavaScript object. Simple and flexible !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s