Hacker News new | comments | show | ask | jobs | submit login

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

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