News for hackers. Stuff that matters.
Re:Mojolicious – Perl real-time web framework by Akron- on Monday July 28, 2014 @10:15AM (#8096794)
As 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.
Re:Mojolicious – Perl real-time web framework by collyw on Monday July 28, 2014 @01:28PM (#8098142)
We are all arguing that you can bundle a whole app into a single file as if it was a good thing.
Re:Mojolicious – Perl real-time web framework by fibo on Tuesday July 29, 2014 @08:36AM (#8101876)
Yes, it is really good if you need to prototype quickly. Then you can use mojo inflate command to turn a single app file into a Mojo project.
Re:Mojolicious – Perl real-time web framework by collyw on Wednesday July 30, 2014 @03:14AM (#8106785)
Its not realistically going to give you much of a productivity boost over having two or three files.
Re:Mojolicious – Perl real-time web framework by grimgrin on Tuesday July 29, 2014 @10:01PM (#8106017)
In 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/#com...