JavaScript架構比較:架構比較

來源:互聯網
上載者:User

架構比較

表1對本文中討論的五個架構提供詳細的比較

Prototype jQuery YUI ExtJS MooTools
Latest Version 1.6.1 1.4.1 3.00 3.1 1.2.4
License MIT MIT & GPL BSD Commercial & GPL v3 MIT
Browser Compatibility
IE Support 6.0+ 6.0+ 6.0+ 6.0+ 6.0+
Firefox Support 1.5+ 2.0+ 3.0+ 1.5+ 2.0+
Safari Support 2.0.4+ 3.0+ 4.0+ 3.0+ 2.0+
Opera Support 9.25+ 9.0+ 10.0+ 9.0+ 9.0+
Chrome Support 1.0+ 1.0+ Not verified Not verified Not verified
Core Features
Ajax Support Yes Yes Yes Yes Yes
DOM Manipulation Yes Yes Yes Yes Yes
DOM Traversal Yes Yes Yes Yes Yes
Event Handling Yes Yes Yes Yes Yes
JSON Yes Yes Yes Yes Yes
Selectors Yes Yes Yes Yes Yes
UX/UI Enhancements
Accordion No jQuery UI No Yes MooTools More
Animation scriptaculous Yes Yes Yes Yes
Auto Completion scriptaculous No Yes Yes No
Browser History scriptaculous No Yes Yes No
Calendar No jQuery UI Yes Yes No
Charting No No Yes Yes No
Drag and Drop scriptaculous jQuery UI Yes Yes MooTools More
Grids No No Yes Yes MooTools More
Progress Bar No jQuery UI Yes Yes No
Resizing No jQuery UI Yes Yes No
Rich Text Editor No No Yes Yes No
Slider scriptaculous jQuery UI Yes Yes MooTools More
Tabs No jQuery UI Yes Yes No
Themes No jQuery UI Yes Yes MooTools More
Tree Views No No Yes Yes No

其他值得注意的架構

為了簡潔,本文只討論五個比較流行的架構,這並不意味著這是最流行的、最好的、功能最豐富的。

其它的一些架構也值得一提、值得一看。

  • Cappuccino
  • Dojo
  • Glow
  • GWT
  • MochiKit
  • Qooxdoo
  • Rialto
  • Rico
  • SproutCore
  • Spry
  • UIZE

回顧

在本文中,你已經瞭解到JavaScript架構的概念,知道它在網站和網路應用發展中的好處。對這些架構的共同功能有一個總體描述,並用執行個體說明了它的應用。同時你也瞭解到五個架構的一個或一些使用者體驗和使用者介面。最後,你得到了一份直觀的表格,反白每個架構具有或不具有的特色。有了這些資訊,在為你或你的團隊作出明智選擇之前,你可以進一步研究這些架構。

資源

  • (developerWorks, November 2005) explains how to
    build Ajax-based Web applications.
  • Learn about Dojo.
  • Read the articleDojo concepts for Java developers(developerWorks, October 2008) to bridge the gap from Java code to Dojo so that you can get up to speed quickly and use the toolkit when developing your applications.
  • Read Call SOAP Web services with Ajax,
    Part 1: Build the Web services client
    (developerWorks, October 2005) to learn how to implement a Web browser-based
    SOAP Web services client using the Ajax design pattern.
  • Overcome
    security threats for Ajax applications
    (developerWorks, June 2007) discusses the
    threats associated with Ajax technologies and gives you some best
    practices to avoid them.
  • Mastering
    Ajax, Part 1: Introduction to Ajax
    (developerWorks, December 2005) explains how HTML,
    JavaScript, DHTML, and DOM work together to make extremely efficient Web
    development an easy reality.
  • Simplify Ajax development with jQuery
    (developerWorks, April 2007) examines the jQuery
    philosophy, explains its features and functions, and gives you some common
    Ajax tasks.
  • Using Ajax with DB2
    (developerWorks, August 2007) shows how the IBM Information
    on Demand 2006 Conference Personal Planner uses Ajax to work with
    DB2.
  • To listen to interesting interviews and
    discussions for software developers, check out developerWorks podcasts.
  • developerWorks technical events and webcasts:
    Stay current with developerWorks technical events and webcasts.

獲得產品和技術

  • Download the Dojo toolkit. Dojo toolkit.
  • Get the Prototype Javascript framework.
  • Get jQuery.
  • The jQuery User Interface provides
    abstractions for low-level interaction and animation, advanced effects and
    high-level, themeable widgets, built on top of the jQuery JavaScript
    Library.
  • Get script.aculo.us.
  • Get MooTools.
  • Download and
    learn about the Yahoo! YUI Library.
  • Get ExtJS.
  • Innovate your
    next open source development project with IBM trial software,
    available for download or on DVD.
  • Download IBM product evaluation versions,
    and get your hands on application development tools and middleware
    products from DB2, Lotus, Rational, Tivoli, and
    WebSphere.

關於作者

Joe Lennon is a 24-year-old software developer from Cork, Ireland. Joe is author of the forthcoming Apress book Beginning CouchDB, and has contributed several technical articles and tutorials to IBM developerWorks. In his spare time, Joe likes to play football (soccer), tinker with gadgets and work on his Xbox 360 gamer score.

轉載地址:http://www.denisdeng.com/?p=736

原文地址:http://www.ibm.com/developerworks/web/library/wa-jsframeworks/index.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.