beberlei / zelten

A social network website based on tent.io protocol
http://www.zelten.cc
17 stars 5 forks source link

Q: Twig versus Backbone templates #174

Open tjreo opened 11 years ago

tjreo commented 11 years ago

Most of Zelten uses Twig templates. They are used to render entire pages (stream.html) and ajax requests (_message.html).

For Zelten Bookmarks, the bookmarks page is rendered using Twig but each individual bookmark is rendered using a Backbone template. Is there a reason that individual bookmarks don't have their own _bookmark.html Twig template? Was it just easier?

beberlei commented 11 years ago

I experimented with Backbone templates in the bookmarks view, but didn't like it much.