Hacker Newsnew | past | comments | ask | show | jobs | submit | Akron-'s commentslogin

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.


We are all arguing that you can bundle a whole app into a single file as if it was a good thing.


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.


Its not realistically going to give you much of a productivity boost over having two or three files.


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...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: