Open oyabun opened 10 years ago
I use Jade and compile it with Grunt. It has the advantage to compile the files in HTML, that's less work for the device than a JavaScript templating solution.
Magaka Magazine (http://www.kesiev.com/magaka/) use somethings like this: es. articles and templates are in different folders, and loaded by .JS
Btw right now I'm working on a book using angular.js, with all the resources (text, images, sound), is centralized in a JSON format, and served to HTML template in angular way. So far everything is working as expected.
Has anyone try an Baker App with Ember.js or at least Handlebars.js for templating a magazine? My idea is to have different parts of the magazine static without copying them in every .html off the book. A backbone.js aproach is also interesting.