比较 jQuery UI 与 jQuery 工具

发布于 10-03 06:24 字数 212 浏览 8 评论 0原文

我对网络编程非常陌生(我专业从事桌面开发)。我想了解更多有关 Web 编程的知识,尤其是使用 jQuery 库。我看到对 jQuery UI 和 jQuery Tools 的引用;我什至发现围绕这些存在一些争议。

jQuery 和 jQuery UI/jQuery 工具之间有什么关系。是否有一个人比其他人更受青睐?是否有任何使用这些库的参考资料(除了各自的主页之外)?

谢谢

I'm very new to web programming (I do desktop development professionally). I want to learn more about web programming, especially using the jQuery library. I see references to jQuery UI and jQuery Tools; I even find that there is some controversy surrounding these.

What is the relationship between jQuery and jQuery UI/jQuery Tools. Is one preferred over the others? Are there any references (besides the respective home pages) for using these libraries?

Thanks

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

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

发布评论

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

评论(2

指尖上的星空2024-10-10 06:24:46

这两个库之间没有任何关系,除了它们都是构建在 jQuery 之上的事实之外。

根据我的经验,这两个库都非常适合它们提供的功能集。您需要查看主页上的功能集并确定您需要什么,然后做出选择。

如果需要,您可以同时使用它们,因此要回答您对另一个答案的评论,请使用拖动和来自 jQueryUI 的 drop 和来自 jQuery Tools 的工具提示绝对是一个选择。如果您只能使用一个库,那么最好还是使用一个库。您的代码将更加清晰(因为每个库都使用不同的风格进行编码),并且您的用户在访问您的网站时将需要下载更少的 javascript 文件。

至于文档,我希望你能找到更多关于 jQueryUI 的文档,因为它被各地很多人使用(我没有数字或任何东西,但我的猜测是 jQueryUI 的使用比 jQuery 工具要多得多) )。 jQueryUI 网站上的文档非常精彩,并提供了每个组件的示例。

There is no relationship between the two libraries except for the fact that they are both built on top of jQuery.

In my experience, both libraries work very well for the set of feature that they provide. You need to have a look at the feature set on the home page and decide on what you need, then make your choice.

You can use both of them at the same time if you need to, so to answer your comment on another answer, using the drag & drop from jQueryUI and tooltip from jQuery Tools is definitely an option. If you can use only one library it's probably best to though. Your code will be clearer (as every library is coded with a different style) and your users will have less javascript files to download when they visit your website.

As for documentation, I would expect you to find more documentation on jQueryUI, as it is used by many people all over the place (I don't have numbers or anything, but my guess is that jQueryUI is used a lot more than jQuery tools). The documentation on the jQueryUI website is amazing and provides examples for every component.

记忆之渊2024-10-10 06:24:46

我经常使用 jQuery UI,因为 jQuery Tools 上没有拖放功能。有时我使用 jQuery Tools 作为 jQuery Ui 上不存在的工具提示。所以我想说,在选择之前,您需要检查一下您需要什么。

两者都可以选择根据您需要的内容构建自定义软件包,以使其更轻。

在这两种情况下,要学习它们,演示都是一个很好的起点,文档也非常好。

I use jQuery UI a lot because of the drag and drop function, that is not present on jQuery Tools. Some time I use jQuery Tools for the tooltip that is not present on jQuery Ui. So I would say that you would need to check what you need before picking one.

Both have the option to build custom packages with what you need to make them lighter.

In both cases, to learn them the demos are a good place to start, documentation its quite good.

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