News for hackers. Stuff that matters.
Re:Planet - Python realtime framework, the framework behind ... by LeafStorm on Wednesday November 16, 2011 @07:46AM (#3242904)
Why did they invent yet another framework-specific template language? What is wrong with Jinja2 and Mako?
Re:Planet - Python realtime framework, the framework behind ... by cgbystrom on Wednesday November 16, 2011 @07:53AM (#3242923)
The reason behind "yet another template language" is that we compile down to both Python and JavaScript. Allowing us to render templates both on the server-side and client-side. Sharing templates between these two gets very important when you develop real-time web sites.

(I'm one of the developers behind Planet Framework)

Re:Planet - Python realtime framework, the framework behind ... by LeafStorm on Wednesday November 16, 2011 @11:45AM (#3243824)
Ah. That makes sense. Both Jinja2 and Mako are very much tied to Python. (Though compiling a subset of Jinja2 AST's to JavaScript would be an interesting exercise...)
Re:Planet - Python realtime framework, the framework behind ... by llimllib on Wednesday November 16, 2011 @10:07AM (#3243332)
Armin Ronacher's article explains why they couldn't use either: http://lucumr.pocoo.org/2011/11/15/modern-web-applications-a...

(He's the author/maintainer/we_need_a_new_word_for_this of jinja2, btw)