On Mar 9, 2012, at 10:44 AM, Nicolas Évrard wrote: > Hello Trytonistas, > > Lately we have received a lot of demands for a Tryton web client. The > major stopper for such a development is that it is too heavy for only > one customer. > > The project would be to have a web client based on the proteus.js > prototype with almost all the current client features adapted to the > web. >
I did some work this weekend on a POC for the web client, but based on ExtJS. It was mostly an experiment to try/learn the framework and I think it is a much better candidate for the job. It tries to be just like the desktop client and currently implements profile management, login and fetching of preferences. It also includes a Tryton model proxy to easily make RPCs on model objects. The implementation allows the client to connect to a different location where the tryton daemon could be running as the RPC is built over CORS [1]. This however needs an extremely light WSGI middleware to make the Trytond WSGI process CORS aware [2]. I have uploaded the source code of the work so far on github [3] and also uploaded a few screenshots on my blog [4]. There is also a hosted version on the openlabs site [5]. [1] http://en.wikipedia.org/wiki/Cross-origin_resource_sharing [2] https://gist.github.com/2019037 [3] https://github.com/openlabs/trytonweb [4] http://www.sharoonthomas.com/2012/03/tryton-web-client.html [5] http://openlabs.co.in/~st/trytonweb/ Thanks, Sharoon Thomas Openlabs Technologies & Consulting (P) Limited w: http://www.openlabs.co.in m: +1 786 247 1317 t: @sharoonthomas
signature.asc
Description: Message signed with OpenPGP using GPGMail
