您选择的跨浏览器的JavaScript GUI [英] Your choice of cross-browser javascript GUI

查看:166
本文介绍了您选择的跨浏览器的JavaScript GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UPDATE - 从2015年2月起更新的全面比较可以在这里找到:



Ext JS常见问题






2008问题



有许多伟大而不那么伟大的JavaScript GUI框架。我看了一些(只表面)。



滚动到此问题的末尾,看看别人说什么




  • Ext.js 很多人最明显的选择,因为它是最知名的框架之一。

    优点: 真棒,大型社群,大量扩充功能/外挂程式,GPL'ed

    Disadvanatges:无法使用第三方扩充功能(


  • Backbase 相对不太清楚。一个奇怪的XML和Javascript的混合,让人想起XUL。但是,它已经是跨浏览器

    优点: ,非常可扩展,允许轻松整合一些非常整洁的东西

    缺点:定价陡峭,有CPU限制(虽然可以免费使用多达2个CPU) ,


  • qooxdoo 也很受欢迎。

    优点: 请填写


  • YUI 填写说明

    优点:组织良好的代码
    缺点: / em>


  • Dojo 填写说明

    优点:增量加载类

    缺点:感觉feel肿


  • jQuery UI

    优点:小工具不彼此依赖

    缺点:在开发的早期阶段,非常少的小部件

    可能出现更广泛接受的趋势: jQuery将随ASP.NET MVC一起提供







你说什么?你使用什么,为什么?你宁愿使用什么,为什么?在任何类型的项目中






要使用输入更新...


查看此优秀评论从Sergey Ilinsky,这解释了非常好的框架,你应该选择当你想只是pimp你的页面,构建一个丰富的前端(有几个选择,不少)的应用程序



另一个线程中有趣的评论比较了jQuery,Dojo,Prototype,Mootools, Sproutcore Cappuccino (问题已移除)


blockquote>

解决方案

当考虑使用JavaScript库/框架时,应该首先定义你的目标。我习惯于按照其目的和架构将所有JavaScript库/框架分成三个类别:


  1. 我想要<我的网页有一些真正酷的功能。

  2. >
  3. old:Prototype,Mootools


  4. 强>具有丰富的前端。我喜欢用JavaScript定义UI,我不介意使用这些库的自定义API来编写我的应用程序逻辑。转到JavaScript




  5. 我想用构建应用程序丰富的前端。我喜欢在XML中定义UI,我想用标准API编写我的应用程序逻辑,并利用其他面向开发人员的标准技术。转到 rel =nofollow noreferrer> Sproutcore


  6. Backbase

  7. 充足的SDK

  8. / li>



有关详细比较,请参阅 ExtJS的替代品


UPDATE - A comprehensive comparison, updated as of February 2015, can be found here:

Alternatives to Ext JS


2008 question:

There are a number of great and not so-great Javascript GUI frameworks out there. I've looked at some (only superficially). And I can't make my mind about any of them

Scroll to the end of this question to see what others say

  • Ext.js The obvious choice by many since it's one of the most known frameworks.
    Advantages: Looks awesome, large community, lots of extensions/plugins, GPL'ed
    Disadvanatges: Inability to use third-party extensions with commercial license (and some of those extensions have killer features)

  • Backbase Relatively less known. A curious mix of XML and Javascript that is reminiscent of XUL. However, it's already cross-browser
    Advantages: Looks good, very extensible, allows easy incorporation of some really neat stuff
    Disadvantages: Pricing is steep and CPU-bound (though free to use on up to 2 CPUs), forums are slow to respond (though commercial support is supposedly fast)

  • qooxdoo Also very popular.
    Advantages: Please, fill in
    Disadvantages: Code is slighly messy (based on hearsay)

  • YUI Fill in description
    Advantages: Well organized code Disadvantages: Many widgets still in beta

  • Dojo Fill in description
    Advantages: Incremental loading of classes
    Disadvantages: MIght feel bloated

  • jQuery UI
    Advantages: Widgets not dependent on each other
    Disadvantages: In an early stage of development, very few widgets
    Possible tendency towards wider acception: jQuery to be shipped with ASP.NET MVC


What say you? What do you use and why? What would you rather use and why? In any kind of project


To be updated with your input...

See this excellent comment from Sergey Ilinsky which explains very nicely which framework you should choose when you want to just pimp up your page, build an application with a rich frontend (with several choices, no less)

An interesting comment in another thread compares jQuery, Dojo, Prototype, Mootools, Sproutcore and Cappuccino (the question was removed).

解决方案

When considering a JavaScript library/framework for usage you should first define on your goals. I used to separate all JavaScript libraries/frameworks into three categories by their purpose and architecture:

  1. I want to pimp up my page with some really "cool" features. Go for JavaScript library.

    • jQuery
    • ZenoUI
    • old: Prototype, Mootools
  2. I want to build an application with a rich front-end. I like defining UI with JavaScript and I do not mind much using custom APIs of these libraries for coding my application logic. Go for JavaScript post-library/pre-framework.

    • DHTMLX
    • Dojo
    • YUI
    • Qooxdoo
    • jQuery UI
    • Bindows - generates the exact look of Windows
    • Spry (raw, suffers severely of memory leaks)
  3. I want to build an application with a rich front-end. I like defining UI in XML and I would like to code my application logic against standard APIs and make use of other developer-facing standard-based technologies. Go for JavaScript framework.

For a more detailed comparison, see the alternatives to ExtJS.

这篇关于您选择的跨浏览器的JavaScript GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆