1 | initial version |
check out http://aleph.sagemath.org It implements a simple communication protocol with 'evaluate' and 'get' requests only. There is no state saved in between evaluations. You can figure out the protocol from the JS code. It's as minimalistic as possible.
The service at sagemath is experimental (we used it for testing mainly). That means it might go down in the feature. However, you can get the server code from http://code.google.com/p/sage-aleph/ and run a similar service on your own server (even implement state if you need it).