-
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
Use Cases
- provide templates to users for dynamic surveys whose data can be attached to registrations
- allow users to create their own registration templates
- allow users to add metadata to their project components
- easily allow for models to be populated using json
- logic-full
- well-maintained/active community
- easy to learn
- relatively lightweight
- customizable/easy to extend
Ember.js
Current Screenshots
- screenshots directory
- selecting an existing template from dropdown
- viewing example form
- example of dynamic interaction in form
Knockout.js highly recommended, haven't finished reviewing all options though
Reviewed frameworks
- framework name
- pros
- cons
- notes
-
jade
- pros
- good documentation
- good community, maybe not as active as knockout.js?
- mixins
- logic
- cons
- 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
- notes
- just the templating/data-binding?
- pros
-
javascriptmvc
- pros
- good documentation
- cons
- notes
- 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)
- pros
- serenade js
- http://canjs.us/#can_ejs
- http://jacwright.com/438/javascript-data-binding/
- Angular - just the templating/data-binding?
- Underscore templating + some sort of data-binding?
Good post from 2011 from linked in compares a lot of different frameworks. The client-side templating throwdown: mustache, handlebars, dust.js, and more. They ended up choosing dust.js.