svgui/pyjs/jsonrpc/README.txt
author Laurent Bessard
Thu, 02 May 2013 09:39:38 +0200 (2013-05-02)
changeset 1083 40af794ecd4b
parent 728 e0424e96e3fd
permissions -rw-r--r--
Added support for adding a variable in program VariablePanel by drap'n dropping located variable like in global VariablePanel
These classes are intended for use server-side.

e.g. in a django view.py :

    from pyjs.jsonrpc.django import JSONService, jsonremote

    jsonservice = JSONRPCService()

    @jsonremote(jsonservice)
    def test(request, echo_param):
         return "echoing the param back: %s" % echo_param