Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Server-side view or client-side MVC?. Parent comment
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.
Edit: JS -> CoffeeScript.
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.