News for hackers. Stuff that matters.
Re:Your templating engine sucks and everything you've ever w... by ronreiter on Sunday December 11, 2011 @12:53AM (#3339398)
You are plain simply wrong. First of all, logic in templates is something which is OK to have. Different templates display information in different manners. Second thing, I don't think you've seen how awful and unmaintained code which manipulates DOM instead of templating looks like.
Re:Your templating engine sucks and everything you've ever w... by dools on Sunday December 11, 2011 @01:47AM (#3339482)
The point I'm making, though, is that the challenge of solving "maintainability of DOM manipulation code" is a simpler problem to solve than the creation of the perfect templating language.

What's more, a good DOM manipulation strategy and library can be really easily ported to any language, freeing up your templates to go wherever you may feel is appropriate in the future.