什么是一些使用jQuery的利弊? [英] What are some of the pros and cons of using jQuery?

查看:162
本文介绍了什么是一些使用jQuery的利弊?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如有人谁是只能勉强维持精通javascript中,对我来说是jQuery的吧?有没有更好的库来使用?我见过很多有关jQuery的职位,这似乎是合并成JavaScript的ASP.NET应用程序的最有效的方法。

As someone who is only barely proficient in javascript, is jQuery right for me? Is there a better library to use? I've seen lots of posts related to jQuery and it seems to be the most effective way to incorporate javascript into ASP.NET applications.

我已经到 jQuery的网站,并找到了一些教程和其他有用的信息。任何其他参考材料(即书籍,博客等)将是有益的。

I've been out to jQuery's site and have found the tutorials and other helpful information. Any other reference material (i.e books, blogs, etc.) would be helpful.

谢谢!

推荐答案

有关如 jQuery的并的原型是,他们采取了很多的跨浏览器kwirks,可以使JavaScript等痛苦写的照顾。无论是其中的一个或者甚至 mootools的将是对你很好,他们各自的网站约为不如一个资源,因为它是会得到。

The great thing about libraries like jQuery and Prototype is that they take care of a lot of the cross-browser kwirks that can make Javascript such a pain to write. Either one of those or maybe even mootools will be good to you, their respective websites being about as good as a resource as it's gonna get.

修改:至于你的页面上有额外负载大小的'骗子',我建议使用的谷歌来承载这些给你。乐观,有些人会有它从其他网站缓存,再加上谷歌需要照顾版本/ COM pression的你。

edit: as far as the 'con' of having extra loading size on your page, I suggest using Google to host these for you. Optimistically, some people will have it cached from other websites, plus Google takes care of versions/compression for you.

这篇关于什么是一些使用jQuery的利弊?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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