News for hackers. Stuff that matters.
Re:Mojolicious 8.0 released: Perl real-time web framework by Cyberdog on Monday September 17, 2018 @10:32AM (#18006248)
What does "real-time" mean in terms of a web framework? As a web developer for over a decade, I don't recall seeing a web framework described with that before and have no idea how to interpret it.
Re:Mojolicious 8.0 released: Perl real-time web framework by kraih on Monday September 17, 2018 @10:46AM (#18006363)
It's "real-time web", which mostly means WebSockets these days. (https://en.wikipedia.org/wiki/Real-time_web) But in the case of Mojolicious it is also used to highlight certain optimizations that make it very easy to use WebSockets and HTTP side by side in the same web application. https://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#...
Re:Mojolicious 8.0 released: Perl real-time web framework by mncharity on Monday September 17, 2018 @02:05PM (#18008319)
Congrats on the release.

> mostly means WebSockets these days

And some WebRTC. Sub-100 ms latencies. 200? Voice and video chat, and gaming. npm's Primus. PubNub.

>> As a web developer for over a decade, I don't recall seeing a web framework described with that before and have no idea how to interpret it.

'Realtime web' has been a phrase for a decade-ish - used to be server push. Google is fruitful; the Wikipedia article... needs help.

Re:Mojolicious 8.0 released: Perl real-time web framework by joelberger on Monday September 17, 2018 @10:39AM (#18006310)
It is built on an ioloop and has a special emphasis on making websockets and other streaming communications easy.
Re:Mojolicious 8.0 released: Perl real-time web framework by fibo on Monday September 17, 2018 @03:48PM (#18009343)
Mojolicious was maybe the first framework with Websocket support.
Re:Mojolicious 8.0 released: Perl real-time web framework by kraih on Monday September 17, 2018 @04:24PM (#18009700)
I've not really thought about that before, but looking through the commit history it actually seems very likely that we were the first. Back then the WebSocket protocol looked very different from today. https://github.com/mojolicious/mojo/commit/a1a7060e35a6a0965...
Re:Mojolicious 8.0 released: Perl real-time web framework by ricardobeat on Monday September 17, 2018 @06:43PM (#18010757)
Close, socket.io’s first release was on January 3rd 2010. There were a few other experiments before that in late 2009.
Re:Mojolicious 8.0 released: Perl real-time web framework by kraih on Tuesday September 18, 2018 @10:49AM (#18015792)
The initial commit for socket.io was actually on March 17 2010. https://github.com/socketio/socket.io/commit/c8edad861a1b920...
Re:Mojolicious 8.0 released: Perl real-time web framework by ricardobeat on Tuesday September 18, 2018 @06:38PM (#18019894)
That was the first public release. There used to be a History.md file in the repo with the January date. There was a lot of experimentation even before that - browsers started adding experimental WS support on the second half of 2009, right as node was gearing up. Some artifacts from that era:

https://github.com/socketio/socket.io/blob/5518f8cb2c4125128...

https://robots.thoughtbot.com/real-time-online-activity-moni...

https://groups.google.com/d/msg/nodejs/1Bla2JHc3f0/N3fpKe7dY...

Another thing to keep in mind is that the precursor SSJS environments like Jack/Narwhal, Helma etc probably added it even earlier. Hard to tell since GitHub itself was new and many of these sources are hard to find today.

Re:Mojolicious 8.0 released: Perl real-time web framework by kraih on Thursday September 20, 2018 @07:21AM (#18031363)
Public release is what counts though, we had been privately experimenting with WebSockets for weeks at that point as well.