News for hackers. Stuff that matters.
Re:Server-side view or client-side MVC? by udfalkso on Tuesday February 26, 2013 @04:33PM (#5288796)
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-...

There are various libraries you can use to make this easier for yourself. Underscore and handlebars are too good options.

Re:Server-side view or client-side MVC? by mistercow on Tuesday February 26, 2013 @04:43PM (#5288853)
eco 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.