Hacker News new | ask | show | jobs
by jdrago999 4399 days ago
To use Ruby-isms, Mojolicious is like all the simplicity of Sinatra and all the does-everything-you-could-ever-want of Rails.

Mojolicious also runs within Perl's version of Rack, called PSGI.

Great stuff!

2 comments

Catalyst has better Plack/PSGI integration than Mojolicious; in fact Mojolicious is often better deployed without Plack because the PSGI stuff just gets in the way of Mojolicious' home-brewed async stuff.

The whole point of Mojolicious is to be an integrated set of tools that work well together, whereas Catalyst is focused much more on being a part of the wider CPAN ecosystem, and generating its own ecosystem of extensions in turn.

> Mojolicious is like all the simplicity of Sinatra and all the does-everything-you-could-ever-want of Rails.

I'm not sure how to take this—I usually pitch Sinatra to people by saying it pitched out all the crap in Rails. Which one is it?

I'd say Perl Dancer is more the Sinatra of Perl.
Mojolicious::Lite is the bottle.py version built-in.