You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was a mistake to use a templating language that looks like HTML but isn't. (The thought was that it would make it possible to use standard HTML editing tools but it's not really valid HTML and the similarity with HTML can be confusing.) I would like to use something more like the Django template language with {{ and }} to delimit tags.
This is also about the current template parser being full of bugs and difficult to work with.
Look at Dustin Voss's template-engine library to see if it fits the bill.
The text was updated successfully, but these errors were encountered:
brucem: Mustache is pretty (very) common these days.
brucem: And that's nice because it is also available as a JS library so that you can do templating in the browser.
brucem: That makes me sad. I did a game client in 2002 that used a lot of server-driven stuff, including feeding templates + data to the client and doing client side templating.
brucem: and if you want inspiration, the Scalate library is actually pretty nice.
It was a mistake to use a templating language that looks like HTML but isn't. (The thought was that it would make it possible to use standard HTML editing tools but it's not really valid HTML and the similarity with HTML can be confusing.) I would like to use something more like the Django template language with {{ and }} to delimit tags.
This is also about the current template parser being full of bugs and difficult to work with.
Look at Dustin Voss's template-engine library to see if it fits the bill.
The text was updated successfully, but these errors were encountered: