Gary,<br><br>Thanks for the input.<br>It's my understanding that Mojolicious is specifically built for what<br>I'm trying to do with stateful / websockets stuff, as their page says this:<br>"Full stack HTTP and WebSocket client/server implementation"<br>
<br>At any rate, I'm not insisting I need to use Mojolicious, but what I<br>was asking in my original email, was that I've spent several days looking<br>around at the web for any types of "websockets-like" working examples<br>
and found a few, but I have not been able to get ANY of them to work for me!<br><br>So, I'm asking here if anyone actually has a working example of something<br>being done in perl with websockets (Mojolicious or WebSocket.pm or ANYTHING) ?!<br>
<br>Do you?  Or know someone who does?<br><br>thanks,<br>David<br><br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 6:14 PM, Gary Warman <span dir="ltr"><<a href="mailto:warman.t.gary@gmail.com" target="_blank">warman.t.gary@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aloha David!<br>
<br>
I can't see Mojolicious working too well with websockets, as<br>
websockets send a persistent connection to whoever is connecting, and<br>
mojolicious is designed for HTTP transmission, which as we all know,<br>
is a stateless, one-off packet. If you had to reload the page to<br>
reload a new resource, you may as well have defeated the purpose of<br>
having that single stream of communication open, innit? Though,<br>
systems like mojolicious are good for building the HTTP backend of the<br>
website if the whole website doesn't have to be websocketed. Seems<br>
like it might be a combination of Mojolicious and<br>
<a href="http://search.cpan.org/~vti/Protocol-WebSocket-0.12/lib/Protocol/WebSocket.pm" target="_blank">http://search.cpan.org/~vti/Protocol-WebSocket-0.12/lib/Protocol/WebSocket.pm</a><br>
<div class="HOEnZb"><div class="h5"><br>
On 12/2/12, David Slimp <<a href="mailto:david@david-slimp.com">david@david-slimp.com</a>> wrote:<br>
> Hey folks!<br>
><br>
> I've got a project that the new HTML 5 websockets would be perfect for!<br>
><br>
> I've spent the last 2 days looking around the web and I think Mojolicious<br>
> is probably the Perl module I want.  There are a few pages with samples,<br>
> but none really seem to work (for me) !<br>
><br>
> Is anyone on this list doing something with Perl and websockets?<br>
><br>
> Does anyone have an example that actually works?<br>
><br>
> thanks!<br>
> David<br>
><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Thank you,<br>
Gary Warman<br>
<br>
LinkedIn <<a href="http://www.linkedin.com/in/garywarman" target="_blank">http://www.linkedin.com/in/garywarman</a>><br>
</font></span></blockquote></div><br>