Tag Archive for 'pyjamas'

Using Pyjamas with bobo

This weekend i finally came around to connect Pyjamas to my bobo backend application through JSON-RPC. The following example shows all the code you need to enable JSON-RPC in the bobo backend.
Create a file ‘jsonrpc_application.py‘, the bobo backend application:

import bobo

I use lovely.jsonrpc for the JSON-RPC server implementation.

from lovely.jsonrpc.dispatcher import JSONRPCDispatcher

The PyjamasAPI class follows […]


About

You are currently browsing the d2m weblog archives for 'pyjamas' tag.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.


Categories