Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change DSP template language #5

Open
cgay opened this issue Mar 8, 2011 · 1 comment
Open

Change DSP template language #5

cgay opened this issue Mar 8, 2011 · 1 comment
Labels

Comments

@cgay
Copy link
Member

cgay commented Mar 8, 2011

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.

@cgay
Copy link
Member Author

cgay commented Mar 8, 2011

From IRC:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant