Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
Akron-'s comments
login
Akron-
on July 28, 2014
|
parent
|
context
[–]
| on:
Mojolicious – Perl real-time web framework
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.
collyw
on July 28, 2014
|
parent
|
next
[–]
We are all arguing that you can bundle a whole app into a single file as if it was a
good
thing.
fibo
on July 29, 2014
|
root
|
parent
|
next
[–]
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.
collyw
on July 30, 2014
|
root
|
parent
|
next
[–]
Its not realistically going to give you much of a productivity boost over having two or three files.
grimgrin
on July 30, 2014
|
parent
|
prev
[–]
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: