Live data from Hacker News

Nodejitsu unveils: Flatiron web framework for node.js

flatironjs.com

1–8 of 8 posts

Re: Nodejitsu unveils: Flatiron web framework for node.js

#5
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 Hello Batman instead of Hello

Re: Nodejitsu unveils: Flatiron web framework for node.js

#7
post #5

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 Hello Batman instead of Hello

i'd recommend opening an issue over here https://github.com/flatiron/plates/issues so that the authors can respond to you more efficiently

Re: Nodejitsu unveils: Flatiron web framework for node.js

#8
post #5

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 Hello Batman instead of Hello

that the entire point of the templates component.

`Hello ` 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.