Comparison of JavaScript frameworks

From Wikipedia, the free encyclopedia
Jump to: navigation, search

There are many JavaScript frameworks available. The intention of this comparison is to show some examples of notable JavaScript frameworks.

General information[edit]

Framework Version compared Size License Source language
AccDC 3.0
September 2013
? MIT License JavaScript
Ample SDK 0.9.3
1 Jul 2010
Variable.
Core size:
40 kB (minified & gzipped)
MIT & GPL ?
AngularJS 1.2.14
1 Mar 2014
36 kB (minified & compressed) MIT JavaScript
Atoms.js 1.2.31
1 May 2014
44 kB (gzipped) MIT JavaScript + HTML + CSS
CupQ 0.2
June 2012
20 kB (minified) MIT JavaScript
DHTMLX 4.0
4 Jun 2014
Variable GPL & Commercial[1] JavaScript
Dojo 1.10
Variable.
Base size:
41 kB (minified & gzipped),
155 kB (minified),
598 kB (uncompressed)[2]
BSD & AFL JavaScript + HTML
Echo3 3.0.rc1
24 Mar 2011
? MPL, LGPL or GPL JavaScript and/or Java
Ember.js 1.7.0
19 Aug 2014
95 kB (minified & gzipped),
340 kB (minified),
1.5 MB (uncompressed)
MIT JavaScript
Enyo 2.0.1
30 Aug 2012
<25 kB (core gzipped) Apache 2 [3] JavaScript
Ext JS 4.2
13 Mar 2013
84–502 kB GPL & Commercial [4] JavaScript
Google Web Toolkit 2.4
September 2011
Variable Apache Java
jQuery 1.9.1
4 Feb 2013
32 KiB (minified & gzipped),
93 KiB (minified),
252 KiB (uncompressed)
MIT JavaScript
midori 2010.05
10 May 2010
9 kB (minified & gzipped),
50 kB (uncompressed)
MIT ?
MochiKit 1.4.2 - no longer developed
17 Nov 2008
32–200 kB MIT & AFL ?
MooTools 1.4.5
26 Feb 2012
Variable;
7.3–65 KiB (YUI Compressor),[5]
101 KiB (uncompressed)[6]
MIT JavaScript
PhoneJS 13.1.4
6 Jun 2013
236 kB DEVEXPRESS EULA JavaScript + HTML5 + CSS3
Prototype & script. aculo.us[7] Prototype: 1.7.1
8 Aug 2012
script.aculo.us: 1.9.0
23 Dec 2010
46–278 kB MIT JavaScript
Pyjamas 0.5
March 2009
Variable Apache 2 & GPL Python
qooxdoo 4.0.1
9 Jul 2014
Variable, starting at 6 kB (gzipped) LGPL & EPL JavaScript
Rialto Toolkit 1.1.5
25 Feb 2011
520 kB Apache ?
Rico 2.0
3 May 2009
? Apache ?
SmartClient & SmartGWT SmartClient: 10.0
September 2014
SmartGWT: 5.0
September 2014
100–500 kb (gzipped). LGPL & Commercial Server: Java
Client: Java (Smart GWT) or Javascript (SmartClient) or XML (both)
SproutCore 1.10.3
4 Nov 2014
Variable MIT JavaScript
Wakanda 9
14 Nov 2014
Variable GPL3 (framework), AGPL (server) & Commercial JavaScript + HTML + CSS
YUI 3.18.1
21 Oct 2014
Variable; library core is 31 kB BSD JavaScript + HTML + CSS
ZK 6.5.1.1
13 Dec 2012 / 12 Sep 2012;
Variable LGPL & GPL & ZOL XML + Java (JavaScript optional)
Webix 2.1
September 2014
110 kB (gzipped) GPL & Commercial JavaScript

Features[edit]

  AccDC Ample SDK AngularJS Atoms.js CupQ DHTMLX Dojo Echo3 Ember.js Enyo Ext JS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[7] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient and SmartGWT SproutCore Wakanda YUI ZK Webix
Feature detection[8] Yes No[9] Yes Yes Yes[10] No Yes[11] No Yes Yes[12] No[13][14] Yes[15] No[16] No[17] Yes[18] Yes No[19] Yes No[20] No Partial [21] Yes Partial Yes No[22] Yes
DOM wrapped[23] Yes Yes[24] Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes No[25] Yes No[26][27] Yes Yes Yes No Yes No Yes Yes Yes Yes
XMLHttpRequest
data retrieval
Yes Yes Yes Yes No Yes Yes[28] Yes Yes Yes Yes Yes Yes Yes[29] Yes Yes Yes Yes No Yes[30] Yes Yes Yes Yes Yes
WebSocket Yes Yes Yes No Yes Yes[31] Yes Yes Yes Yes Yes Yes Yes[32] Yes Yes Yes Yes No Yes[33] Yes Via Plugin Yes Yes Yes
Server push data retrieval Yes Yes[34] Yes[35] Yes[36] Yes[37] Yes Yes[38] Via Plugin Via Plugin Yes[39]
Other data retrieval Yes: XML, HTML Yes: XML Yes: XML, HTML,CSV Yes: XML, CSV, HTML Yes: XML, HTML, CSV, ATOM[40] Yes: XML, SOAP, AMF, Ext.Direct Yes: RPC, RequestFactory Yes: XML, HTML Yes: XML, HTML Yes: XML, HTML, OData, REST Yes: XML, WSDL, RSS, and Java-based SQL, Hibernate, POJO adapters Yes: JSON-RPC, Wakanda REST Yes Yes: XML, HTML,CSV
Drag and drop Yes: With keyboard accessibility Yes No Yes Yes[41] Yes Yes With plugin[42] Yes Yes Yes Yes[43] Yes Yes Depends Yes Yes Yes Yes Yes Yes Yes Yes Yes
Simple visual effects Yes Yes Yes Yes No Yes Yes[44] Yes Yes Yes Yes Yes Yes Yes[45] Yes Yes Yes Yes No Yes Yes Yes[46] Yes Yes Yes Yes
Animation /
advanced visual effects
Yes Yes CSS No Yes Yes[47] Yes Yes[48] Yes Yes Yes Yes Yes[49] Yes[50] Yes Yes Yes No Yes Yes Yes[51] Yes Yes Yes Yes
Event handling Yes Yes[52] Yes Yes Yes Yes Yes[53] Yes Yes Yes Yes Yes Yes Yes Yes[54] Yes Yes Yes[55] Yes Yes Yes Yes Yes Yes Yes Yes Yes
Back button support /
history management
Yes Yes No No Yes[56] Yes Yes[57] Yes[58] Yes With plugins[59] Yes With plugin[60] Yes Yes Yes[61] Yes No Yes Yes Yes Yes Yes Yes
Input form widgets & validation Yes Yes Yes Yes No Yes[62] Yes[63] Yes Yes Yes Yes, Validation requires plugin[64] With plugins[65] Yes Yes Yes Yes Yes[61] Yes Yes Yes Yes Yes Yes Yes Yes Yes
AccDC Ample SDK AngularJS Atoms.js CupQ DHTMLX Dojo Echo3 Ember.js Enyo ExtJS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[7] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient and SmartGWT SproutCore Wakanda YUI ZK Webix
Grid Yes[66] Yes[67] Template No Yes[68] Yes[69] Yes Yes Yes With plugins[70] No With plugin[71] With plugins Yes Yes Yes Yes[72] Yes Yes Yes[73] Yes[74] Yes Yes
Hierarchical Tree Yes Yes[75] Yes Yes Yes[76] Yes[77] Yes[78] Yes[79] Yes With plugins[80] No With plugins[81] No Yes[82] Yes[83] Yes Yes Yes Yes (Auto Form)[84] Yes[85] Yes Yes
Rich text editor Yes[86] No With Plugins No Yes[87] Yes[88] Yes[89] Yes[90] Yes With plugins[91] No Yes[92] No Yes Yes No No Yes Via plugin Yes[93] Yes Yes With plugins
Autocompletion tools No Yes No Yes[94] Yes[95] Yes Yes Yes[96] Yes With plugin[97] Yes Yes Yes Yes Yes Yes With plugins Yes[98] Yes Yes Yes
HTML generation tools Yes Yes No Yes Yes Yes Yes[99] Yes Yes Yes No Yes[100] With plugins Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes
Widgets themeable / skinnable Yes Yes Yes Yes[101] Yes[102] Yes Yes[103] Yes[104] Yes[105] Yes Yes Yes Yes[106] Yes Yes Yes[107] Yes[108] Yes Yes
GUI resizable panels and modal dialogs Yes Yes Yes Yes[109] Yes Yes Yes Yes With plugins Yes[110] Partial Yes Yes Yes Yes[111] Yes Yes[112] Yes
GUI page layout Yes Yes Yes Yes[113] Yes Yes Yes With plugin[114] Yes[110] Yes Yes Yes Yes Yes[115] Yes Yes[116] Yes
Canvas support Yes Yes Yes[117] Yes Yes Yes With plugin[118] Yes[119] No Yes Yes Yes Yes Yes[120] Yes Yes[121] Yes
Mobile/tablet support (touch events) Yes Yes Yes Yes Yes Yes[122] Yes[123] No Yes Yes Yes With plugin[124] With plugin[125] With plugin[126] Yes Yes Yes Yes Yes[127][128] Yes Yes[129] Yes
Accessibility /
graceful degradation[130]
Yes No Yes Relies on built-in ARIA attributes Yes No Yes[131] No Yes Yes[132] Yes[133] Yes Yes Yes No[134] Degradation: No
Accessibility: Yes
Degradation: No
Accessibility: Yes
Yes[135] Yes No
ARIA compliant Yes No Yes[131] Yes[136] Yes[137] No No Yes Yes Yes Yes No
Developer tools, Visual design Yes No Visual Studio, CodeMirror Plugin No Yes[138] Yes[139] In development[140] in progress[141] Yes[142] Yes Yes[143][144] Yes[145][146] With plugins No Yes[147] Yes No Yes[148] Yes[149] Yes In development
Offline storage[150] Yes No Yes No[151] Yes Yes[152] Via Google Gears[153] With plugin[154] No Yes Via Pyjamas-Desktop[155] Yes No Yes Yes planned Via plugin[156] Yes Yes
Cross-browser 2d Vector Graphics[157] Yes[158] With plugins Yes[159] Yes With plugin[160] Yes[161] With plugins Yes Yes No Yes (via Raphael) Yes Yes[162] No
Charting & Dashboard[163] Yes[164] Yes[165] Yes[166] Yes[167] With plugin[168][169] With plugins Yes No Yes[170] Yes[171] Yes[172] Yes[173]
RTL Support in UI Components CSS Yes Yes Yes Depends on the plugin used No Yes Yes No

Browser support[edit]

Framework Internet Explorer Mozilla Firefox Safari Opera Chrome
AccDC 6+ 2+ 3+ 9+ 1+
Ample SDK 6+ 1+ 3+ 9.6+ 1+
AngularJS 8+ 4+ 5+ 11+ 30+
Atoms.js 8+ 4+ 4+ 11+ 10+
CupQ 6+ 2+ 3+ 9+ 1+
DHTMLX 6+ 1+ 2.0+ 9+ 1+
Dojo 6+ 3+[174] 4[174] 10.50+[174] 3[174]
Echo3 6+ 1.5+ 3+ 9+ 1+
Ember.js 6+ 3+ 4+ 10.6+ 14+
Enyo 8+[175] >4[175] >5[175] >10[175]
Ext JS 6+ 3.6+ 4+ 11+ 10+[176]
Google Web Toolkit 6+ 1+ 3+ 9+ 1+
jQuery 6+[177] 2+[177] 3+[177] 9+[177] 1+[177]
midori 6+ 1.5+ 2+ 9+
MochiKit 6 1.0.7, 1.5b2 2.0.2 8.5
MooTools 6+ 2+ 3+ 9+ 1+
PhoneJS 9+ 17+ 5+ 11+ 22+
Prototype & script. aculo.us[7] 6+ 1.5+ 2.0.4+ 9.25+ 1+ (starting with 1.6.1RC3)
Pyjamas 6+ 1+ 2+ 9+
qooxdoo 6+ 2+ 3+ 9+ 2+
Rialto Toolkit 6+ 1.5+ 9+
Rico 5.5+ 1+ 2.0.3[178]
SmartClient and SmartGWT 6+ 1+ 3+ 9+ 1+
SproutCore 6+ 3+ 4+ 9+ 1+
Wakanda 9+ 4+ 5+ 11+
YUI 6+ 3+[179] 4.0 10.0+
ZK 6+ 2.0+ 3+ 9+ 2+
Webix 8+ 3+ 4+ 9+ 1+

See also[edit]

Notes[edit]

  1. ^ "Licenses". dhtmlx.com. Retrieved 2014-11-23. 
  2. ^ Dojo Base
  3. ^ "About Enyo JS". enyojs.com. Retrieved 2014-11-23. 
  4. ^ "EXt JS 5 Licensing". http://www.sencha.com. Retrieved 2014-11-23. 
  5. ^ [1]
  6. ^ [2]
  7. ^ a b c d script.aculo.us is an add-on to Prototype.
  8. ^ Feature detection is preferred by many to browser sniffing to support future browsers: Browser Detecting (and what to do Instead), Feature Detection: State of the Art Browser Scripting, Browser Feature Detection
  9. ^ Ample SDK uses Browser Sniffing
  10. ^ [CupQ uses Browser Sniffing]
  11. ^ Documentation dojo/has
  12. ^ http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.supports
  13. ^ GWT implementations for every browser
  14. ^ Google Docs (built on GWT) stops working on a Firefox rebranding because of not doing proper Feature Detection
  15. ^ jQuery 1.3
  16. ^ http://www.midorijs.com/midori.js midori.js
  17. ^ http://www.mochikit.com/MochiKit/Style.js MochiKit/Style.js
  18. ^ http://mootools.net/blog/2010/10/11/mootools-core-1-3-stable-and-mootools-more-1-3rc/
  19. ^ Feature detection all the way
  20. ^ https://svn.improve.fr/rialto/Rialto-coreV1/rialtoEngine/javascript/rialto.js
  21. ^ Author disagrees that feature detection alone is sufficient
  22. ^ http://zssdemo.zkoss.org/zkau/web/js/zk/zk.js.dsp zk.js
  23. ^ kangax (5 April 2010). "What’s wrong with extending the DOM". Retrieved 6 April 2010. 
  24. ^ http://www.amplesdk.com/about/technologies/javascript/
  25. ^ MooTools Docs - Element/Element
  26. ^ Prototype JavaScript framework: Element
  27. ^ Prototype 2.0 will not extend the DOM - Ajaxian
  28. ^ AJAX and Dojo
  29. ^ MooTools Request
  30. ^ Inner HTML demo
  31. ^ AJAX and Dojo
  32. ^ MooTools Request
  33. ^ Inner HTML demo
  34. ^ http://cometd.org/documentation/cometd-javascript
  35. ^ https://github.com/kembuco/extjs-cometd/
  36. ^ http://code.google.com/p/rocket-gwt/wiki/Comet
  37. ^ http://cometd.org/documentation/cometd-javascript
  38. ^ Real-time Messaging Module
  39. ^ http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Server_Push
  40. ^ http://docs.dojocampus.org/dojox/data
  41. ^ http://docs.dojocampus.org/dojo/dnd
  42. ^ http://code.google.com/p/gwt-dnd/
  43. ^ MooTools Drag.Move
  44. ^ http://docs.dojocampus.org/dojo/fx/
  45. ^ MooTools Fx.Tween (Simple Transitions)
  46. ^ http://showcase.sproutcore.com/#demos/Transition%20Plugins
  47. ^ http://docs.dojocampus.org/dojox/fx/
  48. ^ http://enyojs.com/api/#enyo.Animator
  49. ^ Mochikit.Visual
  50. ^ MooTools Fx.Morph (Advanced Transitions)
  51. ^ http://showcase.sproutcore.com/#demos/Transition%20Plugins
  52. ^ http://www.amplesdk.com/about/technologies/javascript/
  53. ^ http://docs.dojocampus.org/quickstart/events
  54. ^ http://mootools.net/docs/core/Types/Event MooTools Events
  55. ^ Pyjamas demo of onclick event handling
  56. ^ http://docs.dojocampus.org/dojo/back
  57. ^ http://enyojs.com/docs/2.4.0/api/#enyo.Router
  58. ^ http://www.sencha.com/products/js/roadmap.php Since v2.2
  59. ^ Address, History, jquery History, History/Remote, jQuery BBQ
  60. ^ MooTools-History
  61. ^ a b Pyjamas Kitchen Sink demo
  62. ^ dhtmlxForm
  63. ^ http://docs.dojocampus.org/dijit/form
  64. ^ http://techblog.maydu.eu/?p=7
  65. ^ http://plugins.jquery.com
  66. ^ Data Grid
  67. ^ Data Views
  68. ^ dhtmlxGrid
  69. ^ http://docs.dojocampus.org/dojox/grid
  70. ^ jqGrid, Ingrid, Flexigrid, SlickGrid, ParamQuery Grid, ShieldUI jQuery Grid
  71. ^ JxLib Library or phatfusion sortable table plugin or DrasticGrid
  72. ^ Live grid
  73. ^ Wakanda DataGrid
  74. ^ YUI DataTable
  75. ^ Data Views
  76. ^ dhtmlxTree
  77. ^ http://docs.dojocampus.org/dijit/Tree
  78. ^ Tree demo
  79. ^ Tree demos
  80. ^ treeview, file_tree_viewer
  81. ^ MooTree 2 or JxLib Library or MooTools PowerTools!
  82. ^ http://pyjs.org/examples/kitchensink/output/KitchenSink.html#Trees Tree
  83. ^ http://demo.qooxdoo.org/current/demobrowser/ Demo browser
  84. ^ Wakanda Auto Form
  85. ^ http://developer.yahoo.com/yui/treeview/ YUI TreeView
  86. ^ [3]
  87. ^ dhtmlxEditor
  88. ^ http://docs.dojocampus.org/dijit/Editor
  89. ^ Echo 3 new features
  90. ^ problems with the HTMLEditor creating XHTML vs the HTML it does now
  91. ^ markitup, jwysiwyg, htmlbox, WYMeditor
  92. ^ MooEditable
  93. ^ Wakanda WYSIWYG Editor
  94. ^ dhtmlxCombo
  95. ^ http://docs.dojocampus.org/dijit/form/ComboBox
  96. ^ http://jqueryui.com/autocomplete/
  97. ^ Digitarald's Autocompleter Plugin
  98. ^ Wakanda Combo Box
  99. ^ As of Dojo 1.3, the NodeList.addContent() api can be used to create content for example: dojo.query(".note").addContent("h4 NOTE: h4", "before");
  100. ^ MooTools Elements
  101. ^ SkinBuilder
  102. ^ http://docs.dojocampus.org/dijit-themes
  103. ^ Community-driven skins, Theme Builder
  104. ^ Skinning GWT controls with style sheets
  105. ^ ThemeRoller
  106. ^ http://manual.qooxdoo.org/current/pages/gui_toolkit.html#themes
  107. ^ Wakanda Widget Overview (skins / styles)
  108. ^ Skinning YUI
  109. ^ dhtmlxWindows
  110. ^ a b Using MochaUI Library or JxLib
  111. ^ Wakanda Dialogs
  112. ^ http://www.zkoss.org/smalltalks/zkstudio_vedemo/
  113. ^ dhtmlxLayout
  114. ^ [4]
  115. ^ Wakanda Container / Layout
  116. ^ http://www.zkoss.org/smalltalks/zkstudio_vedemo/
  117. ^ dojo.gfx
  118. ^ jQuery Canvas plugin
  119. ^ MochaUI Library
  120. ^ Wakanda Canvas
  121. ^ [5]
  122. ^ DHTMLX Touch
  123. ^ dojox.mobile & dojox.mobile.app
  124. ^ [6]
  125. ^ jQTouch, jQuery Mobile Project
  126. ^ MooTools Mobile (unofficial)
  127. ^ Wakanda Navigation View
  128. ^ Wakanda Split View
  129. ^ http://www.zkoss.org/whyzk/Features
  130. ^ All JavaScript frameworks can be written in an accessible way with graceful degradation, frameworks seen here which imply out-of-the-box accessibility have made a special effort to document best practices for their particular framework.
  131. ^ a b http://docs.dojocampus.org/quickstart/writingWidgets/a11y
  132. ^ [7]
  133. ^ Built-in Accessibility in GWT 1.5 Applications
  134. ^ Qooxdoo's "Extreme JavaScript" paradigm
  135. ^ Yahoo! UI Graded Browser Support
  136. ^ [8]
  137. ^ jQuery UI has ARIA support
  138. ^ Visual Designer for DHTMLX
  139. ^ Wavemaker, Aptana Studio
  140. ^ EchoStudio 3
  141. ^ [9]
  142. ^ [10], Theme Builder, Custom build tool
  143. ^ Netbeans has jQuery support
  144. ^ jQuery API
  145. ^ MooTools-core Documentation
  146. ^ MooTools-more Document
  147. ^ Custom build, JS Linker, API generation, Unit test framework, etc.
  148. ^ Wakanda Studio
  149. ^ CSS Grid Builder, YUI Test Utility, Profiler, Logger Control
  150. ^ JavaScript frameworks currently only have the ability to support offline storage by taking advantage of pre-installed browser extensions such as Google Gears. If a user does not have one of these supported extensions installed in their browser already then offline support will be unavailable to the framework. JavaScript framework developers interested in implementing Gears may want to start with the Gears Getting Started Guide.
  151. ^ o.DojoToolkit.Org/offline says "Dojo Offline is no longer supported after Dojo 1.3"
  152. ^ http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.data.proxy.WebStorage
  153. ^ Google API Libraries for Google Web Toolkit
  154. ^ jQuery HTML5 Storage plugin
  155. ^ Pyjamas Desktop
  156. ^ http://yuilibrary.com/gallery/show/storage-lite
  157. ^ Some JavaScript libraries provide 2d graphics primitives that can be used for cross-browser vector graphics. These libraries rely on underlying technologies in the browser or plugins such as Canvas, SVG, VML, Flash, and Silverlight to do the actual rendering, but help isolate application and widget code from the rendering engine api differences
  158. ^ [11]
  159. ^ http://docs.dojocampus.org/dojox/gfx
  160. ^ http://keith-wood.name/svg.html jQuery SVG plugin
  161. ^ MooTools ART
  162. ^ http://books.zkoss.org/wiki/Small_Talks/2010/June/How_To_Use_Canvas4Z
  163. ^ Some JavaScript libraries include widgets for Charts, Gauges, and other data visualizations.
  164. ^ [12]
  165. ^ dhtmlxChart
  166. ^ http://docs.dojocampus.org/dojox/charting
  167. ^ http://dev.sencha.com/deploy/dev/docs/?class=Ext.chart.Chart Chart API
  168. ^ jQuery Flot Plugin
  169. ^ jQuery Visualize Plugin
  170. ^ Wakanda Chart
  171. ^ [13]
  172. ^ [14]
  173. ^ Webix Charts
  174. ^ a b c d http://docs.dojocampus.org/releasenotes/1.4
  175. ^ a b c d http://enyojs.com/docs/platforms
  176. ^ http://www.sencha.com/products/js/
  177. ^ a b c d e http://docs.jquery.com/Browser_Compatibility
  178. ^ http://openrico.org/resources
  179. ^ http://developer.yahoo.com/yui/articles/gbs/