Hacker News new | ask | show | jobs
by heme 4844 days ago
Isn't this a bad idea outside of formatting a number as currency?

Also, Why not let JavaScript inject your model data directly into plain vanilla HTML templates? In other words, don't use any template tags at all. These 2 projects are really piquing my interest.

http://blog.nodejitsu.com/micro-templates-are-dead

https://github.com/leonidas/transparency/wiki/Frequently-Ask...

Side benefit is that you can still pre/hybrid render from the server in whatever language you like.