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>
`<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.
7 comments
[ 2.6 ms ] story [ 28.4 ms ] thread`<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.