skip to navigation
skip to content

appwsgi default

Illustration of building your own ajax framework with a python3 wsgi server

1) install python3
2) git clone https://code.google.com/p/appwsgi/ wsgi-design
3) python3 server.py and go to index page

All the examples are sending json objects, no html is being generated by the server. Pleas take a look at the source code and consider this technique in your future projects.

client request
Cookie: bac0c1f9a9362f9e
{"cmd":"order",
"sid":"bac0c1f9a9362f9e",
"input":"..."}

server response
Set-Cookie: bac0c1f9a9362f9e
{"uid":"gert",
"gid":"admin",
"output":"..."}