4 ms·
Mojolicious is best Perl web micro framework, remember that the Author also started catalyst. Dancer is similar but I don't like dsl. Mojo is very fast, powerfu
by fibo 12y ago
Mojolicious is best Perl web micro framework, remember that the Author also started catalyst. Dancer is similar but I don't like dsl. Mojo is very fast, powerful and expressive with a lor of features, mature and more perlish. Try Mojolicious::Lite, there is no other web Framework that can write an app in a single,file.
- william20111 12y agoflask can?
- matthewmacleod 12y agoFlask, Sinatra, Rails, Express… actually, there are a lot of them.
- grimgrin 12y agoEven Django! https://github.com/readevalprint/mini-django/blob/master/mini_django.py https://github.com/readevalprint/mini-django/blob/master/min...
- Akron- 12y agoAs far as I can see this is no full single file app: The template is stored separately. In Mojolicious::Lite you can bundle all html/css etc. templates and even images (as base64) in the data section of the file.
- collyw 12y agoWe are all arguing that you can bundle a whole app into a single file as if it was a good thing.
- grimgrin 12y agoIn fairness, if you really wanted to do it in one file, you'd just pass an html string to an instantiated django.template.Template() https://docs.djangoproject.com/en/dev/ref/templates/api/#compiling-a-string https://docs.djangoproject.com/en/dev/ref/templates/api/#com...
- codygman 12y agoScotty/blaze for Haskell as well.
- nicomen 12y agoA single file? Bah that's too complex! $ perl -Mojo -lE 'a("/foo", { text => "lol" })->start' get /foo lol For more fun: http://mojolicio.us/perldoc/ojo http://mojolicio.us/perldoc/ojo