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.

Comparison of JavaScript frameworks[edit]

AccDC Ample SDK AngularJS CupQ DHTMLX Dojo Echo3 Enyo Ext JS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[1] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient & SmartGWT Wakanda YUI ZK Webix Web Atoms JS
Version compared 3.0
September 2013
0.9.3
1 Jul 2010
1.2.14
1 Mar 2014
0.2
June 2012
3.6
18 Apr 2013
1.9.2
6 Dec 2013
3.0.rc1
24 Mar 2011
2.0.1
30 August 2012
4.2
13 Mar 2013
2.4
September 2011
1.9.1
4 Feb 2013
2010.05
10 May 2010
1.4.2
17 Nov 2008
1.4.5
26 February 2012
13.1.4
6 June 2013
Prototype: 1.7.1
8 Aug 2012
script.aculo.us: 1.9.0
23 Dec 2010
0.5
Mar 2009
3.5
10 Dec 2013
1.1.5
25 Feb 2011
2.0
3 May 2009
SmartClient: 9.0
Jul 2013
SmartGWT: 4.0
Jul 2013
3
19 Dec 2012
3.10.0
23 Apr 2013
6.5.1.1
13 Dec 2012 / 12 September 2012;
1
11 July 2013
1.0.8
1 August 2013
Size Variable.
Core size:
40 kB (minified & gzipped)
36 kB (minified & compressed) 20 kB (minified) Variable Variable.
Base size:
41 kB (minified & gzipped),
155 kB (minified),
598 kB (uncompressed)[2]
<25 kB (core gzipped) 84–502 kB Variable 32 KiB (minified & gzipped),
93 KiB (minified),
252 KiB (uncompressed)
9 kB (minified & gzipped),
50 kB (uncompressed)
32–200 kB Variable;
7.3–65 KiB (YUI Compressor),[3]
101 KiB (uncompressed)[4]
236 kB 46–278 kB Variable Variable, starting at 6 kB (gzipped) 520 kB 100–500 kb (gzipped). Variable Variable; library core is 31 kB Variable 110kB(gzipped) 44kB(gzipped)
License MIT License MIT & GPL MIT MIT GPL and Commercial BSD & AFL MPL, LGPL or GPL Apache 2 [15] GPL and Commercial Apache MIT MIT MIT & AFL MIT DEVEXPRESS EULA MIT Apache 2 & GPL LGPL & EPL Apache Apache LGPL & Commercial GPL & Commercial BSD LGPL & GPL & ZOL GPL & Commercial Commercial
Source language JavaScript  ? JavaScript JavaScript JavaScript JavaScript + HTML JavaScript and/or Java JavaScript JavaScript Java JavaScript  ?  ? JavaScript JavaScript + HTML5 + CSS3 JavaScript Python JavaScript  ?  ? Server: Java
Client: Java (Smart GWT) or Javascript (SmartClient) or XML (both)
Javascript + HTML + CSS Javascript + HTML + CSS XML + Java (Javascript Optional) JavaScript JavaScript
Features
AccDC Ample SDK AngularJS CupQ DHTMLX Dojo Echo3 Enyo Ext JS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[1] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient and SmartGWT Wakanda YUI ZK Webix Web Atoms JS
Feature detection[5] Yes No[6] Yes Yes[7] No Yes[8] No Yes[9] No[10][11] Yes[12] No[13] No[14] Yes[15] Yes No[16] Yes No[17] No Partial [18] Partial Yes No[19] Yes Yes
DOM wrapped[20] Yes Yes[21] Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No[22] Yes No[23][24] Yes Yes Yes No Yes Yes Yes Yes Yes Yes
XMLHttpRequest
data retrieval
Yes Yes Yes No Yes Yes[25] Yes Yes Yes Yes Yes Yes Yes[26] Yes Yes Yes Yes No Yes[27] Yes Yes Yes Yes Yes
[WebSocket] 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
Server push data retrieval Yes Yes[31] Yes[32] Yes[33] Yes[34] Yes Yes[35] Via Plugin Yes[36]
Other data retrieval Yes: XML, HTML Yes: XML Yes: XML, CSV, HTML Yes: XML, HTML, CSV, ATOM[37] 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 Yes: XML, HTML,CSV
Drag and drop Yes: With keyboard accessibility Yes No Yes Yes[38] Yes Yes With plugin[39] Yes Yes Yes Yes[40] Yes Yes Depends Yes Yes Yes Yes Yes Yes Yes Yes
Simple visual effects Yes Yes Yes No Yes Yes[41] Yes Yes Yes Yes Yes Yes Yes[42] Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes
Animation /
advanced visual effects
Yes Yes No No Yes[43] Yes Yes[44] Yes Yes Yes Yes Yes[45] Yes[46] Yes Yes Yes No Yes Yes Yes Yes Yes Yes
Event handling Yes Yes[47] Yes Yes Yes Yes[48] Yes Yes Yes Yes Yes Yes Yes[49] Yes Yes Yes[50] Yes Yes Yes Yes Yes Yes Yes Yes Yes
Back button support /
history management
Yes No No Yes[51] Yes[52] Yes With plugins[53] Yes With plugin[54] Yes Yes Yes[55] Yes No Yes Yes Yes Yes Yes Yes
Input form widgets & validation Yes Yes Yes No Yes[56] Yes[57] Yes Yes Yes Yes, Validation requires plugin[58] With plugins[59] Yes Yes Yes Yes Yes[55] Yes Yes Yes Yes Yes Yes Yes Yes Yes
AccDC Ample SDK AngularJS CupQ DHTMLX Dojo Echo3 Enyo ExtJS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[1] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient and SmartGWT Wakanda YUI ZK Webix Web Atoms JS
Grid Yes[60] Yes[61] No Yes[62] Yes[63] Yes Yes Yes With plugins[64] No With plugin[65] With plugins Yes Yes Yes Yes[66] Yes Yes[67] Yes[68] Yes Yes Template
Hierarchical Tree Yes Yes[69] Yes Yes[70] Yes[71] Yes[72] Yes[73] Yes With plugins[74] No With plugins[75] No Yes[76] Yes[77] Yes Yes Yes (Auto Form)[78] Yes[79] Yes Yes Yes
Rich text editor Yes[80] No No Yes[81] Yes[82] Yes[83] Yes[84] Yes With plugins[85] No Yes[86] No Yes Yes No No Yes Yes[87] Yes Yes With plugins Yes
Autocompletion tools No No Yes[88] Yes[89] Yes Yes With plugins[90] Yes With plugin[91] Yes Yes Yes Yes Yes Yes Yes[92] Yes Yes Yes Yes
HTML generation tools Yes Yes No Yes Yes Yes[93] Yes Yes Yes No Yes[94] With plugins Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes
Widgets themeable / skinnable Yes Yes Yes[95] Yes[96] Yes Yes[97] Yes[98] Yes[99] Yes Yes Yes Yes[100] Yes Yes[101] Yes[102] Yes Yes Yes
GUI resizable panels and modal dialogs Yes Yes Yes[103] Yes Yes Yes Yes With plugins Yes[104] Partial Yes Yes Yes[105] Yes Yes[106] Yes Yes
GUI page layout Yes Yes Yes[107] Yes Yes Yes With plugin[108] Yes[104] Yes Yes Yes Yes[109] Yes Yes[110] Yes Yes
Canvas support Yes Yes Yes[111] Yes Yes Yes With plugin[112] Yes[113] No Yes Yes Yes Yes[114] Yes Yes[115] Yes
Mobile/tablet support (touch events) Yes Yes Yes Yes Yes[116] Yes[117] No Yes Yes With plugin[118] With plugin[119] With plugin[120] Yes Yes Yes Yes[121][122] Yes Yes[123] Yes Yes
Accessibility /
graceful degradation[124]
Yes No Yes Yes No Yes[125] Yes Yes[126] Yes[127] Yes Yes Yes No[128] Degradation: No
Accessibility: Yes
Yes[129] Yes No No
ARIA compliant Yes No Yes[125] Yes[130] Yes[131] No No Yes Yes Yes No No
Developer tools, Visual design Yes No No Yes[132] Yes[133] In development[134] in progress[135] Yes[136] Yes Yes[137][138] Yes[139][140] With plugins No Yes[141] Yes Yes[142] Yes[143] Yes In development Visual Studio
Offline storage[144] No Yes[145] No[146] Yes Yes[147] Via Google Gears[148] With plugin[149] No Yes Via Pyjamas-Desktop[150] Yes No Yes planned Via plugin[151] Yes Yes Yes
Cross-browser 2d Vector Graphics[152] Yes[153] Yes[154] Yes With plugin[155] Yes[156] With plugins Yes Yes Yes (via Raphael) Yes Yes[157] No With plugins
Charting & Dashboard[158] Yes[159] Yes[160] Yes[161] Yes[162] With plugin[163][164] With plugins Yes Yes[165] Yes[166] Yes[167] Yes[168]
RTL Support in UI Components Yes Yes Yes Depends on the plugin used No Yes No Yes
AccDC Ample SDK AngularJS CupQ DHTMLX Dojo Echo3 Enyo Ext JS Google Web Toolkit jQuery midori MochiKit MooTools PhoneJS Prototype & script. aculo.us[1] Pyjamas qooxdoo Rialto Toolkit Rico SmartClient and SmartGWT Wakanda YUI ZK Webix Web Atoms JS
Browser Support
Internet Explorer 6+ 6+ 8+ 6+ 6+ 6+ 6+ 8+[169] 6+ 6+ 6+[170] 6+ 6 6+ 9+ 6+ 6+ 6+ 6+ 5.5+ 6+ 9+ 6+ 6+ 8+ 8+
Mozilla Firefox 2+ 1+ 4+ 2+ 1+ 3+[171] 1.5+ >4[169] 3.6+ 1+ 2+[170] 1.5+ 1.0.7, 1.5b2 2+ 17+ 1.5+ 1+ 2+ 1.5+ 1+ 1+ 4+ 3+[172] 2.0+ 3+ 4+
Safari 3+ 3+ 5+ 3+ 2.0+ 4[171] 3+ >5[169] 4+ 3+ 3+[170] 2+ 2.0.2 3+ 5+ 2.0.4+ 2+ 3+ 2.0.3[173] 3+ 5+ 4.0 3+ 4+ 4+
Opera 9+ 9.6+ 11+ 9+ 9+ 10.50+[171] 9+ [169] 11+ 9+ 9+[170] 9+ 8.5 9+ 11+ 9.25+ 9+ 9+ 9+ 9+ 10.0+ 9+ 9+ 9+
Chrome 1+ 1+ 30+ 1+ 1+ 3[171] 1+ >10[169] 10+[174] 1+ 1+[170] 1+ 22+ 1+ (starting with 1.6.1RC3) 2+ 1+ 11+ 2+ 1+ 10+

See also[edit]

Notes[edit]

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