jquery、moo tool 和 yui 哪个最好?

发布于 2024-09-05 08:36:00 字数 46 浏览 3 评论 0原文

你好,jquery、mootool、yui 和 Gmail 具有跨浏览器兼容性

Hi among the jquery ,mootool ,yui and glow have crossbrowser compatiblity

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

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

发布评论

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

评论(7

—━☆沉默づ 2024-09-12 08:36:00

jquery - 一路走来!我避免使用其余的工具!

jquery - all the way! I avoid the rest of the tools!

蓝眸 2024-09-12 08:36:00

最好你必须定义你的意思。这取决于很多因素。

我更喜欢jquery,因为它的用户基数太大并且插件可用。

By best you have to define what you mean. It depends on many factors.

I prefer jquery since its user base is too large and the availability of plugins.

幼儿园老大 2024-09-12 08:36:00

JQuery 已经越来越受欢迎。 JQuery对大多数浏览器的兼容性较高。 Jquery 已经发展得很好,因此,最好只尝试 JQuery。

JQuery has been gaining good popularity. The compatibilty of JQuery with most of the browsers is higher. Jquery has picked up very well and so, Its better to try out JQuery only.

梦在深巷 2024-09-12 08:36:00

我推荐 jQuery 最重要的是。 Microsoft Visual Studio 2010 附带了 jQuery 支持,这是此测试的良好基准。此外,jQuery 拥有大量为 jQuery 开发插件的用户。

I'd recommend jQuery above anything. Microsoft visual studio 2010 ships with jQuery support which is a good benchmark for this test. Also jQuery has vast audience that develop plugins for jQuery.

微凉 2024-09-12 08:36:00

我使用 jQuery,因为它很直观并且有很多反馈和插件。

兼容性

Jquery:火狐 2.0+
互联网浏览器 6+
野生动物园 3+
歌剧 9+
Chrome 1+,存在已知问题:Firefox 1.0.x
互联网浏览器 1.0-5.x
Safari 1.0-2.0.1
歌剧 1.0-8.x
征服者

Mootool:MooTools 与 Safari 2+、Internet Explorer 6+、Firefox 2+(以及基于 gecko 的浏览器)、Opera 9+ 和 Chrome 4+ 兼容并经过全面测试。

Yui: http://developer.yahoo.com/yui/articles/gbs/

I use jQuery, becouse it's intuitive and there is a lot of feedback and plugins.

compatibility

Jquery: Firefox 2.0+
Internet Explorer 6+
Safari 3+
Opera 9+
Chrome 1+, There are known problems with: Firefox 1.0.x
Internet Explorer 1.0-5.x
Safari 1.0-2.0.1
Opera 1.0-8.x
Konqueror

Mootool: MooTools is compatible and fully tested with Safari 2+, Internet Explorer 6+, Firefox 2+ (and browsers based on gecko), Opera 9+, and Chrome 4+.

Yui: http://developer.yahoo.com/yui/articles/gbs/

相思故 2024-09-12 08:36:00

在这里您可以看到 JavaScript 框架的比较。就我个人而言,我投票支持 jQuery,因为它的口号是少写,多做。

更新
在这里,在 stackoverflow 中,您可以在问题<中看到有关此主题的热门讨论/a>.

Here you can see comparison of javascript frameworks. Personally I vote for jQuery, because at its slogan says Write less, do more.

Update
Right here, in stackoverflow you can see the hot discussion about this subject in this question.

像极了他 2024-09-12 08:36:00

归根结底,这取决于您想要使用框架的目的。

我建议您从学习编写纯 JavaScript 开始,只有这样您才会发现框架的相对实用性在哪里。

如果您想要一个具有最广泛的浏览器兼容性的框架,以及在旧计算机/浏览器上的最佳性能那么这个相当烦人的名字“我的图书馆”可能会胜出。
仅仅是因为它进行功能检测,而不是尝试推断浏览器名称/版本,这是大多数已建立的库都犯过的相当糟糕的逃避行为。

我建议您尝试一下每个框架,看看哪一个适合您的需求,过早地将自己锁定在一个特定的框架中只会对您造成长期伤害;当拿着锤子时,每个螺丝看起来都像钉子等。

我个人更喜欢 YUI3 - 它具有强大的 OOP 支持以及灵活的 CSS3 风格 DOM 查询和大量优质 RIA 小部件的选择。

我不会让自己太受大众争论的影响,很多人都会做愚蠢的事情,找出适合你和你的问题领域的东西。

At the end of the day, it depends what you want to use the framework for.

I would recommend that you start by learning to write pure javascript, only then will you find out where the relative utility of a framework comes in.

If you want a framework that has the widest browser compatibility, along with best performance on older computers/browsers then the rather annoyingly named 'my library' probably wins out.
Simply because it does feature detection rather than try to infer the browser name / version, which is a rather craptastic cop-out that most of the established libraries are guilty of.

I would recommend you give each of them a go and see what suits your need, locking yourself in to one particular framework too early will only hurt you long term; When holding a hammer, every screw looks like a nail etc.

Personally I favor YUI3 - it has strong OOP support as well as flexible CSS3 style DOM querying and a great selection of quality RIA widgets.

I wouldn't let myself be too swayed by arguments ad populem, plenty of people do silly things, find out what is right for you and your problem domain.

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