使用extjs的优点和缺点是什么? [英] What are pros and cons of using extjs?

查看:130
本文介绍了使用extjs的优点和缺点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一个项目中,有人建议我使用extjs。我非常了解extjs。我已经完成了我所有的项目使用jQuery。我知道很多人很了解extjs。



请告诉我使用extjs的利弊?

解决方案

以下是 ExtJS 的一些主要优点:



优点


  1. ExtJS就像一个小部件的超集,如简单的标签,textBox按钮,复杂的网格,拖放面板等。它还提供远程处理演示以调用远程服务器方法。


  2. 它具有相当不错的文档,包括教程,示例和用户社区。 >


  3. 主动和目前最常用的javascript RIA框架


  4. 良好的代码质量/可读性


  5. 令人惊奇的小部件,我们可以做的一切。似乎很快,每个版本都带来了新的改进。


缺点


  1. 足迹 - 库的大小为500 KB(使用mod_gzip可以将
    减少到150KB)。加载时间对于网页上的主页来说是很高的。


  2. CSS - 很容易迷失。很难找到正确的类
    名称


  3. HTML - 充满了div和过于复杂的生成代码。即使使用FireBug也难以
    调试。


  4. 已修改GPL 3.0许可。免费的开源应用程序,但
    支付商业封闭源应用程序。


  5. 使用ExtJs使我们相信,GUI将是一种桌面
    和丰富。


  6. 加载甚至简单的东西需要几行编码,简单的html或jQuery


  7. 调试不是很简单。只有GWT在JavaScript框架中的
    托管模式中有更好的调试。


  8. 用户不可能将某个页面加入书签。由于
    对象通过DOM操作呈现,页面不能由搜索引擎索引


  9. 需要经验丰富的开发人员。 p>


  10. 我不知道如何使用这个没有整个显示是EXT。我喜欢可以融入我们已经拥有的东西。


参考:
ExtJs - 优点和缺点



希望这有帮助。


In one of my project someone has recommended me to use extjs. I know very little about extjs. I have done my all the project using jQuery. I know many of you know about extjs very well.

please tell me the pros and cons of using extjs?

解决方案

Following are some of the major pros and cons of ExtJS:

Pros

  1. ExtJS is like a superset of the widgets like simple label, textBox buttons to complex grids, drag-drop panel s etc. It also provides demo for remoting to invoke remote server methods.

  2. It has quite good documentation with tutorials, samples and user community.

  3. Active and currently most adopted javascript RIA framework

  4. Good code quality/readability

  5. Amazing set of widgets, does everything we could possibly want. Seems quick, every version brings new improvements.

Cons

  1. Footprint - The library is 500 KB in size (using mod_gzip could be reduced to 150KB). Loading time would is high for home page on web.

  2. CSS – very easy to get lost. It is difficult to find correct class names

  3. HTML – full of divs and overly complex generated code. Difficult to debug even with FireBug.

  4. Modified GPL 3.0 licensed. Free for open source applications but paid for commercial closed source applications.

  5. Using ExtJs leads us to believe that the GUI would kind of desktop and rich. Customization is not easily achievable.

  6. Loading even simple things requires few lines of coding which is simpler in plain html or jQuery.

  7. Debugging is not very easy. Only GWT has bit better debugging in hosted mode among javascript frameworks.

  8. It is not possible for the user to bookmark a certain page . Since the objects are rendered by DOM manipulation, page can not be indexed by search engines

  9. Need quite experienced developer.

  10. I'm not sure how to use this without the entire display being EXT. I would prefer something that could integrate into what we already have.

Reference: ExtJs - The Pros and Cons

Hope this helps.

这篇关于使用extjs的优点和缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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