Re:Pithy.js - An internal DSL for generating HTML in JavaScript
by crescentfresh on Wednesday April 03, 2013 @12:32PM
(#5487090)
Wait, are you rolling up all client templating libraries into 2) or something?
[ Parent
| on HN ]
Re:Pithy.js - An internal DSL for generating HTML in JavaScript
by grimtrigger on Wednesday April 03, 2013 @12:39PM
(#5487148)
My understanding of "client templating libraries" is that they sit on the server, and create code that will be delivered to the client. For example moustache.
If you can easily avoid a call to the server, it might be a good idea.
Re:Pithy.js - An internal DSL for generating HTML in JavaScript
by bsimpson on Wednesday April 03, 2013 @05:26PM
(#5489234)
Client side templating libraries like Handlebars do in the browser what server side libraries like Jinja do in the cloud.
You've described server-side libraries. Client-side do the exact same thing in JS on the client.