根据应用程序参数在 ExtJS 和 YUI 之间进行选择

发布于 2024-08-26 07:40:40 字数 564 浏览 5 评论 0原文

我需要帮助来接听电话以在 Ext JS 和 YUI 库之间进行选择。以下是我从我的申请要求和要求中得出的关键因素。开发过程:

  1. 复杂的窗口形式,如控件
  2. 小部件、布局、实用程序
  3. 小部件之间的通信
  4. 易于扩展
  5. 易于学习
  6. 直观且简单简洁的编码
  7. 异常处理
  8. 积极的支持/社区
  9. 使用即将推出的技术(HTML5 等)进行更新
  10. 强大的 主题易于更改
  11. 皮肤和主题 多样性的主题(不同上下文的文本框以不同方式显示)
  12. 支持 标准协议的实用程序(XmlHttp、JSON)
  13. 良好的性能(响应式)
  14. 成本并不重要,但我不介意节省:)

[更新]:大家好......我遇到了 此链接 我认为这是对著名 JS 框架的客观比较:

I need help in taking call to choose between Ext JS and YUI libraries. Here are the key factors I have derived from my application requirements & development process:

  1. Complex, windows forms like controls
  2. Widgets, Layouts, Utilities
  3. Inter widget communication
  4. Easy to extend
  5. Easy to learn
  6. Intuitive & concise coding
  7. Strong exception handling
  8. Active support / community
  9. To update with upcoming technologies (HTML5, etc.)
  10. Skins & Themes to be easy to change
  11. Skins & Themes to support variety (a text box for different context to appear differently)
  12. Support & Utilities for standard protocols (XmlHttp, JSON)
  13. Good performance (responsive)
  14. Cost is not crucial, but I don't mind saving :)

[Update]: Hi people ... I bumped into this link which I think is an objective comparison of prominent JS frameworks:

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

忘东忘西忘不掉你 2024-09-02 07:40:40

我已经使用 YUI 2 两年了,并且真的越来越喜欢它了。提到的线程有很多好的信息。 YUI 3 将会令人惊叹,但它还没有(如果有的话,很多)UI 小部件。

由于它遵守 Web 标准和 x 浏览器支持,YUI 2 是面向公众的 Web 应用程序或网站的绝佳选择。

仅供参考,Ext 3.5 声称有一个 YUI 适配器(您可以同时使用两者)。
http://www.extjs.com/learn/Ext_Getting_Started#Are_there_known_compatibility_issues_with_any_of_the_third-party_adapters。 3F

根据您的问题:
1 & 2:如果您正在寻找一个开箱即用的类似桌面的 UI,用于进行“丰富”的数据显示和输入(动态表单等),Ext 是明智的选择。 YUI 2 开箱即用,没有任何与 Ext 类似的桌面布局和小部件,也没有“丰富”的表单。

3:YUI 支持一种简单的方式来创建自定义事件,并执行 KVO(通过 AttributeProvider)。
如果 Ext 没有类似的东西我会感到惊讶

4-6:IMO,这属于 YUI。 (再次,我的观点)

在所有其他方面,两者应该是相似的。

我不喜欢 Ext 的地方:
1. 许可和许可历史(在线做一些研究)
2. 残障用户无法使用。
3. 该网站和文档的组织或维护不如 YUI 的好。 Ext 的网站目前有一堆 v2 和 v3。
4.(我的看法)比YUI难学。
5. 依赖管理。使用 YUILoader 后,我无法回去跟踪包含哪些脚本以及按什么顺序。加载程序允许您定义“模块”及其依赖项,然后按需加载它们 - 无需链接。我怎么强调都不为过,这让事情变得多么简单。

I've worked with YUI 2 for 2 yrs and have really grown to like it. The thread mentioned has a lot of good info. YUI 3 will be amazing, but it doesn't have (many if any) UI widgets yet.

Because of its adherence to web-standards and x-browser support, YUI 2 is a great choice for a public-facing web-app or site.

FYI, Ext 3.5 purports to have a YUI adaptor (you can use both).
http://www.extjs.com/learn/Ext_Getting_Started#Are_there_known_compatibility_issues_with_any_of_the_third-party_adapters.3F

Per your questions:
1 & 2: if you are looking for an out-of-the-box desktop-like UI, for doing "rich" data display and entry (dynamic forms, etc) Ext is the clear choice. Out-of-the-box, YUI 2 doesn't have anything close to the desktop layout and widgets that Ext does, nor does it do 'rich' forms.

3: YUI supports a simple way to create custom-events, and do KVO (via AttributeProvider).
I'd be surprised if Ext didn't have something similar

4-6: IMO, this goes to YUI. (again, my opinion)

In all other regards, the two should be similar.

What I don't like about Ext:
1. The licensing, and licensing history (do some research online)
2. It's not accessible to users with disabilities.
3. The site and documentation is not as well organized or maintained as YUI's is. Ext's site currently has a jumble of v2 and v3.
4. (my opinion) It is tougher to learn than YUI.
5. Dependency management. After using the YUILoader, I can't go back to keeping track of what scripts are included and in what order. The loader lets you define 'modules' and their dependencies, then load them on demand - no linking required. I can't emphasis enough how much simpler this makes things.

德意的啸 2024-09-02 07:40:40

也许你想看看两天前的这个问题;-)

比较 YUI 和 Ext JS

Maybe you want to look at this question from two days ago ;-)

Comparing YUI and Ext JS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文