I think it would be awesome if Dancer supported websockets http://en.wikipedia.org/wiki/WebSockets. Has anyone started working on this? Lets do it. Who's with me? :) -Naveed
On Sun, Aug 22, 2010 at 11:52 AM, Naveed Massjouni <naveedm9@gmail.com>wrote:
I think it would be awesome if Dancer supported websockets http://en.wikipedia.org/wiki/WebSockets.
Has anyone started working on this? Lets do it. Who's with me? :)
-Naveed
Web socket build in support for dancer would be very cool indeed. Btw, maybe you will be interested in this: http://github.com/kraih/mojo Their WebSocket implementation seems be to okay, I haven't tested this seriously though. -- Best Regards, tszming
Naveed Massjouni <naveedm9@gmail.com> writes:
I think it would be awesome if Dancer supported websockets http://en.wikipedia.org/wiki/WebSockets.
Has anyone started working on this? Lets do it. Who's with me? :)
If I was you I would rather invest in building something like an AnyEvent WebSockets implementation, which you could then use in conjunction with your Dancer application through an AnyEvent based Plack application server. That would make it possible to use almost all of the WebSockets implementation with other Plack frameworks, and save you much of the complexity that otherwise comes from having to wire the WebSockets code into the event loop of every other runtime out there. Regards, Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons
Hey Naveed. On Sun, Aug 22, 2010 at 6:52 AM, Naveed Massjouni <naveedm9@gmail.com>wrote:
I think it would be awesome if Dancer supported websockets http://en.wikipedia.org/wiki/WebSockets.
True that! We've talked about this quite a bit. I event suggested hacking on it at YAPC::EU (franck, squeeks and me) but we didn't even find time to get some pizza together.
Has anyone started working on this? Lets do it. Who's with me? :)
Squeeks told me that it's not that easy to implement and that perhaps it would be better off to write a Plack middleware for this to use. It'd be great if he could join in on the conversation since he told he actually dug up a bit about Websockets and how to implement them. S.
On Sun, Aug 22, 2010 at 2:39 AM, sawyer x <xsawyerx@gmail.com> wrote:
Hey Naveed.
On Sun, Aug 22, 2010 at 6:52 AM, Naveed Massjouni <naveedm9@gmail.com> wrote:
I think it would be awesome if Dancer supported websockets http://en.wikipedia.org/wiki/WebSockets.
True that! We've talked about this quite a bit. I event suggested hacking on it at YAPC::EU (franck, squeeks and me) but we didn't even find time to get some pizza together.
Has anyone started working on this? Lets do it. Who's with me? :)
Squeeks told me that it's not that easy to implement and that perhaps it would be better off to write a Plack middleware for this to use.
It'd be great if he could join in on the conversation since he told he actually dug up a bit about Websockets and how to implement them.
S.
I talked to Franck and Sawyer in #dancer on irc and we decided that it would be good to create a wiki page to brainstorm about implementing support for websockets in dancer. So I made this page: http://wiki.github.com/sukria/Dancer/websockets Sukria, I hope you don't mind. Anyone that is interested, please feel free to add your thoughts to the wiki. Thanks, Naveed
http://wiki.github.com/sukria/Dancer/websockets
Sukria, I hope you don't mind. Anyone that is interested, please feel free to add your thoughts to the wiki.
You did right! The more people contribute and collaborate around Dancer, the happier I am! I also think websocket support should be done via a Plack middleware. Dancer's core is not supposed to become an abomination monster that rewrites everything it needs. Providing Plack::Middleware::Websocket would benefit to the whole Perl community and woul give more spotlight on Dancer if we write it. This is really the way to go, IMO. Good luck!
participants (5)
-
Daniel Pittman -
Naveed Massjouni -
sawyer x -
sukria -
Tsz Ming WONG