-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamic Templates
codersquid edited this page Mar 19, 2013
·
7 revisions
Templating Specs
UI things for doing things such as
- add metadata to different parts of a project
- incorporating project structures in to a template
- logic-full
- well-maintained/active community
- easy to learn
- relatively lightweight
- customizable/easy to extend
Knockout.js highly recommended, haven't finished reviewing all options though
Reviewed frameworks
- framework name
- pros
- cons
- syntax/formatting practices
- jade
- pros
- good documentation
- good community, maybe not as active as knockout.js?
- mixins
- logic
- cons
- syntax/formatting practices
- pros
- knockout.js
- pros
- uses logic
- really well documented, seems intuitive and customizable
- active community: multiple posts per day on forums
- cons
- nothing, this is the platonic ideal of javascript frameworks
- pros
- javascriptmvc
- pros
- good documentation
- cons
- syntax/formatting practices
- pros
- embeddedjs
- pros
- nice set of view helpers to build on
- cons
- sparse documentation
- community not very active: only 27 issues in tracker, no mailing list activity since 2012 (and most in 2009/2010)
- syntax
- <% %>, <%= %>
- new EJS({url:'/todo.ejs'}).update('todo','/todo.json')
- pros
organize these
- serenade js
- http://embeddedjs.com/
- http://javascriptmvc.com/docs.html#!jQuery.View
- http://canjs.us/#can_ejs
- https://github.com/visionmedia/jade
- http://jacwright.com/438/javascript-data-binding/
- Knockout JS - just the templating/data-binding?
- Angular - just the templating/data-binding?
- Underscore templating + some sort of data-binding?