我们正在计划开发全新的GUI.我们对旧产品中使用的JQuery个非常满意.它简单、优雅、快捷.

We have heard about ExtJS. It also has AJAX and a large list of other features.

We want to use only one of them.

Which is best based on your experience?

推荐答案

我广泛地使用了jQuery,并且非常喜欢它.我已经在多个场合回顾过ExtJS,希望在某个时候有机会使用这个库.这是我的观点.

jQuery

The junk drawer of javascript programming. They got everything you need in there, if you're willing to dig, use some duct tape and super glue, and in general have a group of developers able and willing to hammer code. jQuery is great!

它被使用的地方比你想象的要多得多.然而,就像Drupal和其他社区支持的框架/库一样,当您获得免费支持时,您会得到您付费的东西.使用jQuery可以完成所有任务,但有时需要铲子、 flashlight 和毅力.

此外,非常好的文档(与PHP的在线文档相符合),还有大量的示例代码和博客条目.

Will appeal to tinkerers and "advanced scripters" who are not shy to Google a phrase to find an example that can be used to scaffold a problem and speed development.

ExtJS

Professionally developed by a for-profit company, these are more akin to controls (in the context of Visual Studios) than widgets or plugins. Intentionally complete and robust, with an eye for detail and a higher-level organizational structure than I think exists in the wilds of jQuery, ExtJS is a get what you pay for: A professionally-developed and supported product that lives and dies by it's ability to return value.

将吸引受过专业培训的"程序员",他们希望在控件的开发中进行广泛的测试和更高的顺序或严格性.

Final Recommendation

It really has to do with your shop and customers. If your group is more DIY and likes to glue together things and get it out the door, go with jQuery. It's robust for any situation. If you have a very ordered and professional shop, ExtJS might be a good choice, but jQuery will also be viable. I don't see the need to split your knowledgebase and use both, but really, if you do, use ExtJS for the client-facing portion and jQuery for the admin consoles. I don't see the benefit the other way around.

此外,对于管理控制台,请查看TIBCO.可能有点过头了,但很有趣.

Jquery相关问答推荐

TinyMCE不保存区块报价

使用 howler.js 中的变量播放多种声音

通过 .push() 方法向对象添加项目

用 JS 触发 CSS 悬停

如何确定 jQuery 中匹配元素的元素类型?

jQuery:使用变量作为 Select 器

jQuery从下拉列表中删除一个选项,给定选项的文本/值

jquery - 单击事件不适用于动态创建的按钮

javascript:检测滚动结束

如何在 Backbone.js - Backbone.sync 或 jQuery.ajax 中保存整个集合?

jQuery.parseJSON 与 JSON.parse

如何同时使用 requireJS 和 jQuery?

如何使所有浏览器都支持 ?有什么 Select 吗?

Javascript中的选定文本事件触发器

如何通过js打开 Select 文件对话框?

我如何知道 jQuery 是否有待处理的 Ajax 请求?

jQuery确定匹配的类是否具有给定的ID

超时 jQuery 效果

使用 jQuery 和 CSS 将数字转换为星级显示

如何判断值是否为 JSON 对象?