JavaScript Framework Evaluation
Version 7.2 by Guillaume Delhumeau on 2014/04/16 12:32
- Design
- Active
- Deprecation of Prototype.js and the usage of JQuery as our default JS framework http://markmail.org/thread/vtmsymzdgl2jf252 (Feb 25, 2014)
- Experiment using emberJS http://markmail.org/thread/ihg5t5qtbp5yfe6f (Feb 2, 2014)
- Experiment with AngularJS and XWiki http://markmail.org/thread/o7xsxyqtuqlh7x44 (Apr 16, 2013)
- [PROPOSAL] Include require.js in XWiki by default and make jQuery available through require.js http://markmail.org/thread/dn4pqrcgvnk6qgyp (Nov 30, 2012)
- [Idea] Bundle jQuery ? http://markmail.org/message/roh55giixdyo2sux (Jun 15, 2012)
Description
Currently XWiki is still using prototype as its JS framework of choice. Extensions can be written using jquery.
Prototype has 2 limitations for us:
- It's now dead
- It's not enough to build modern web UIs
Possible list of JS MVC frameworks to check out:
- AngularJS (also check Angular 2.0 which is mobile first)
- EmberJS
- DurandalJS
- BackboneJS
- KnockoutJS
Discussions found on the web comparing them:
- http://eviltrout.com/2013/06/15/ember-vs-angular.html
- http://www.quora.com/Client-side-MVC/Is-Angular-js-or-Ember-js-the-better-choice-for-Javascript-frameworks
Experiments inside XWiki:
- With EmberJS: http://extensions.xwiki.org/xwiki/bin/view/Extension/AngularJSDemo (source: https://github.com/xwiki-contrib/application-emberjs-todolist and mail thread with explanations: http://markmail.org/message/ihg5t5qtbp5yfe6f)
- With AngularJS:
Marius Dumitru Florea
Vincent Massol
Ludovic Dubost