On Thu, 2012-02-02 at 14:35 -0800, binadam wrote: > I'm using pyramid_socketio in one of my apps (not in production yet). > I was wondering if anyone has insight into sockect.io vs sockjs, or if > you have looked at pyramid_socketio & see benefit in moving to > pyramid_sockjs.
socket.io provides messaging protocol, sockjs is just transport. so difference is how to create custom protocol, with sockjs its very easy task because you just use simple transport api (send, on_message), with socketio you have to build your protocol on top of socketio protocol and that is much more difficult task. what regards to pyramid_socketio vs pyramid_sockjs, gevent_socketio (pyramid_socketio) and gevent_sockjs both work at wsgi server level. pyramid_sockjs works at wsgi app level. from developer point of view pyramid_sockjs app is usual pyramid app. i think its simpler and more expendable. yesterday i wrote remote python interactive console in just 40 minutes. server https://github.com/fafhrd91/pyramid_sockjs/blob/master/examples/shell.py and cli https://github.com/fafhrd91/pyramid_sockjs/blob/master/examples/shellcli.py -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
