Re:Nodejitsu unveils: Flatiron web framework for node.js
by zeeone on Wednesday November 09, 2011 @10:33AM
(#3215836)
Nice, lightweight framework, but the template system (Plates) seems weak. It only binds to DOM elements. This means two things: a) You always have to use HTML for all of your templates; b) You have to create a new DOM element for each variable. Example <div id="greet">Hello <div id="name">Batman</div></div> instead of <div id="greet">Hello <%= name %></div>
Re:Nodejitsu unveils: Flatiron web framework for node.js
by hij1nx on Thursday November 10, 2011 @10:19AM
(#3220329)
that the entire point of the templates component.
`<div id="greet">Hello <%= name %></div>` is a biproduct of many years of webservers not being able to parse DOM structures. DSLs come and go. they make markup non-portable. Moving away from DSLs is a step toward a more portable stack.
`<div id="greet">Hello <%= name %></div>` is a biproduct of many years of webservers not being able to parse DOM structures. DSLs come and go. they make markup non-portable. Moving away from DSLs is a step toward a more portable stack.