News for hackers. Stuff that matters.
Re:Mojolicious – Perl real-time web framework by rihegher on Monday July 28, 2014 @06:25AM (#8095960)
I don't know much about erlang but I used to write node.js app and I still maintain some today.

I really like the new concept brought by Node.js. However I realised that most of the time I don't need/want to write asynchronous code which I found harder to test and grow than synchronous code.

Now Mojolicious is a non-blocking IO framework that simulate blocking IO by default. This means that with Mojo you can write code either with blocking or non-blocking IO. To do that you'll have to learn using the mojo::IOLoop which is less natural than node.js to do non blocking but does the job and got easier to use with the 5.0 release.

With node.js you don't have that choice, you're stuck writing application entirely asynchronous.

Re:Mojolicious – Perl real-time web framework by walterbell on Monday July 28, 2014 @06:41AM (#8096001)
Thanks. I found a 3-part tutorial at http://blogs.perl.org/users/joel_berger/mojolicious/