有什么理由比JQuery更喜欢Prototype吗? [英] Is there any reason to prefer Prototype to JQuery?

查看:66
本文介绍了有什么理由比JQuery更喜欢Prototype吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我并不是说这会引起炎症,所以请不要那样做.作为经常使用Prototype和少量使用JQuery的人,它们看起来非常相似,但是JQuery(至少在最初是这样)看起来更简洁,更周到.在这一点上,我想知道,除了与Rails或Seaside之类的框架进行现成的紧密集成之外,使用Prototype相对于JQuery有什么优势?

I don't mean for this to be inflammatory, so please don't take it that way. As someone who has used Prototype a lot and JQuery a little, they both seem very similar, but JQuery (at least initially) looks cleaner and more well thought-out. At this point I am wondering, other than tight integration out of the box with frameworks like Rails or Seaside, what advantages are there to using Prototype over JQuery?

推荐答案

最简单的答案是:JQuery需要更少的代码行,并且被更广泛地接受.它几乎已成为行业标准工具箱.像Microsoft这样的一些供应商甚至都在随其最新产品一起发货.此外,JQuery有超过一千个免费插件可用,并且列表每天都在增长.它们提供了大量功能,这些功能将永远需要您自己开发.没有其他工具包可以与之匹敌.它还有一个非常非常活跃和乐于助人的用户社区. .NET上有许多有关JQuery的文档.

The short answer is No. JQuery requires fewer lines of code and is more widely accepted. It has pretty much become the industry standard toolkit. Some vendors like Microsoft, are even shipping it with their latest products. Additionally, JQuery has over a thousand free plugins available, and the list is growing daily. They provide an incredibly amount of functionality that would take forever to develop on your own. No other toolkit even comes close. It also has a very very active and helpful user community. There is lots of documentation on the .NET for JQuery.

这篇关于有什么理由比JQuery更喜欢Prototype吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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