On Wed, Apr 4, 2012 at 4:47 PM, João Ventura <[email protected]> wrote:
> Lol.. I'm still searching if it can be "relatively" easy to maintain the
> synchronous part of my API.. :)

 nnnnnah.  don't do it.  truly.  move all that code onto a server-side
python framework, where synchronous is absolutely fine, then front it
with JSONRPC.

 JSONRPC can handle dictionaries, lists, even objects (see the
dynamictable example) *and* even objects under pyjd as well.  the only
thing that JSON can't really handle is python datetime objects, so i
wrote a function which does recursive squishing, turning datetime into
a string, you could substitute an object there if you wanted instead,
now that pyjs has an implementation of the datetime module.

l.

Reply via email to