Re:Rethinking Backbone.js View Rendering
by heme on Friday March 08, 2013 @02:32PM
(#5345247)
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.
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.