On Mon, 02 Jan 2012 18:15:59 +0100, Bruno Gruel wrote: > On Mon, 2 Jan 2012 11:03:46 -0600, Jeffrey Van Voorst wrote: >>>From the mongrel2 website: mongrel2 supports "HTTP 1.1 and 1.0, >>> Flash >> JSON Sockets, Flash XML Sockets". >> >> Read the mongrel2 documentation. >> Read the mongrel2 documentation. >> Read the mongrel2 chapter 5 to determine which communication >> patterns >> you want. >> >> It is my opinion that if your end goal is a pyjamas application that >> you use XMLHTTPRequest as browsers can use SSL for XHR. In other >> words, get jsonrpclib working with mongrel2 and your server portion >> of >> the application. Then do the small amount of code needed to connect >> your pyjamas app to your server vi jsonrpc over XHR. >> >> --Jeff Hello,
First, thank's to try help me. I read your previous reply. What i want to do ? In my webapp (network probe or thinkclint mabager) i use this kind off class to retreive some data from the server (mysql query, snmp query etc..). And my goal is to do the same things with mongrel2. class AuthServicePython(JSONProxy): def __init__(self): JSONProxy.__init__(self, "services/toto.py", ["auth"]) OK i will re-read and re-read the mongrel2 doc and read the mongrel2 chapter 5. It's really educational for me to try and succeed (if possible) to lay the famous 5-7 lines of code. But it's not obvious I confess. So i note you suggestion and will give you some feed bak. Thank's. Bruno PS: Sorry for the previous half post -- Sallanches Data Network (SDN) Pour l'Internet des Internautes