On Fri, 2012-11-02 at 13:48 -0700, rafamachadoalves wrote:
> Hi Jim
> 
> 
> Could you show me where I find an example for me to learn more about? 
> I would like to implement a web server that Supports JSON-RPC and
> serialize application state into JSON as you indicated.
> 
If you want to stay with Python, I recommend the Pyramid web framework.
It's actually fairly light, but it can grow with the app as needed. It
can be installed via pypi in a virtualenv, and it has a plugin for
JSON-RPC functionality called pyramid-rpc, also on pypi. There's a lot
to learn with Pyramid, but the documentation and testing is very good.

That said, any web server that supports JSON-RPC will do, as far as the
pyjs app is concerned. You just have to do your back end code in a
language the web server supports, like perl or php, using its JSON-RPC
hooks. Look at the pyjs jsonrpc example for the basics of the
client-side code. Look in the documentation for the web server's
JSON-RPC plugin for examples of how the code looks server-side.


http://pyramid.readthedocs.org

http://docs.pylonsproject.org/projects/pyramid_rpc

- Jim Washington



-- 



Reply via email to