Play 2 + Socket.IO

1,585 views
Skip to first unread message

Felix Müller

unread,
Apr 9, 2012, 8:11:58 AM4/9/12
to play-framework
Hi,

are there any plans to port Socket.IO protocol to Play 2.0? That would
be a great asset for the playframework. IMHO Socket.IO is a quasi
standard in JavaScript world if it comes to node.js and WebSockets. It
offers a fallback protocol from WebSocket down to HTTP long polling
(also flash support if necessary) and is therefore imho essential to
build real modern web apps for customers that needs support for older
browsers (or internet explorer in general ^^).

There was already a discussion about this topic:
http://groups.google.com/group/play-framework/browse_thread/thread/7f8c428bf148808a/
The response was... let me say, not so good. :-)

With Play 2 you switched from Netty to Akka which I appreciate but for
the integration of Socket.IO the Netty port on GitHub (https://
github.com/ibdknox/socket.io-netty) is not sufficient anymore.

So, has anyone the motivation and skills to port Socket.IO to play 2?
Or can anyone give hints how this could be achieved with the usage of
Akka?

-- Felix

Rohit Rai

unread,
May 28, 2012, 2:07:13 AM5/28/12
to play-fr...@googlegroups.com
Hi All,

I have started some work in using socket.io client with Play framework and have it "working" with websockets transport. I have also started work on xhr-polling.

Github link -


I am trying to make it as easy as possible to get started and integrate... so will like to get you feedback on how to improve. 


Regards,
Rohit

Muki

unread,
Jul 26, 2013, 10:34:47 AM7/26/13
to play-fr...@googlegroups.com, felix.muel...@googlemail.com
Keep up with this library. I really start hating node.js and want to port a node.js application to playframework.
However it uses socket.io and it's beyond my power to migrate this stuff.

Ben McCann

unread,
Sep 12, 2013, 1:26:39 PM9/12/13
to play-fr...@googlegroups.com, felix.muel...@googlemail.com
In case anyone else comes across this thread, the new URL for Rohit's library is:


-Ben
Reply all
Reply to author
Forward
0 new messages