Hi massimo and everyone, Hope everyone is doing fine.
With support for Pyjamas, Massimo must have thought of this, but for some reason I feel something ain't right with the Pyjamas' approach. I have just realised that there has been massive amount of effort dedicated to client-side processing in the javascript community. Things like knockout.js, spine.js, backbone.js, and alot more. Being able to move processing from server to client will greatly affect scalability. One thing we can start with is template processing. You can translate python codes directly to javascript and embed it on the client side for processing or you can use javascript template engines like handlebar.js, jade.js instead of web2py template engine. More generally, if there is a mechanism to delegate a piece of Python code in web2py (via decoration or inheritance), that would be very nice. I would imagine one can use Pyjamas' pyjs.js to translate the Python code to javascript or to use something like Skulpt (which will be slow) to interpret Python code directly on the browsers. VP