Hacker News new | comments | show | ask | jobs | submit login
Nodejitsu unveils: Flatiron web framework for node.js (flatironjs.com)
13 points by nephics 1812 days ago | hide | past | web | 7 comments | favorite

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>

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.

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

I think that's one of the most mobile hostile web pages I've seen in a while. Not really a great advertisement.

It is live now. We had a lot of repositories to move over on Github. Held us up by about an hour.

this link should be on the website somewhere: https://github.com/flatiron

I don't know if it's intentional but it currently 404s and that is everything I expected from node.js.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact