svgui/pyjs/jsonrpc/README.txt
author Edouard Tisserant
Thu, 19 Feb 2015 00:40:53 +0100
changeset 1448 20ff66dcc31d
parent 728 e0424e96e3fd
permissions -rw-r--r--
Added more columns in variable list of extensions' code editors - updating python's PLCGlobals from PLC logic can trigger asynchronous 'OnChange' python call
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