3 ms·
The basic idea is that you have html templates and that you use javascript to "fill in the blanks". Here's a short primer: http://www.gethifi.com/blog/javascri
by udfalkso 14y ago
The basic idea is that you have html templates and that you use javascript to "fill in the blanks".
Here's a short primer:
http://www.gethifi.com/blog/javascript-templates-and-how-we-use-them-in-hifi http://www.gethifi.com/blog/javascript-templates-and-how-we-...
There are various libraries you can use to make this easier for yourself. Underscore and handlebars are too good options.
- mistercow 14y agoeco is also nice if you're using CoffeeScript, although it has a few annoying bugs and hasn't been updated in almost a year. Edit: JS -> CoffeeScript.