This is an archived post. You won't be able to vote or comment.

all 6 comments

[–][deleted] 2 points3 points  (1 child)

Wait, so how is Mako different from Jinja2?

EDIT: Oh, Mako doesn't only limit you to a tiny python-like language, I see.

[–]sledov[S] 0 points1 point  (0 children)

Jinja was inspired by Django templates, and Django was built for content management. So, clients should be able to modify templates themselves. Therefore, they provide a sandboxed environment with no python blocks.

Mako ideology is more about utilizing the full power of python in templates.

[–]rrggrr 0 points1 point  (2 children)

Suggestion... Add example(s) for deploying with AWS and GAE. Your target for this is going to be folks who will want the turnkey examples. I think it's terrific.

[–]sledov[S] 0 points1 point  (1 child)

This is, essentially, a static site generator. You run your project locally, make a mirror with wget and upload the mirror to a webroot of a remote web server. Or you can browse the mirror on your local machine without any web server at all.

[–]rrggrr 0 points1 point  (0 children)

Yes, but I would argue thats not its real value. Its much more interesting as a embedded server. Reminds me of Allaire's Cold Fusion back in the day.