学习 jQuery 的最佳方法是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/836725/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the best way to learn jQuery?
提问by Jalpesh Vadgama
I am new to ASP.NET MVCand jQuery. What is the best way to learn jQuery? Are there any good links, blogs, and screencasts?
我是ASP.NET MVC和jQuery 的新手。学习 jQuery 的最佳方法是什么?有没有好的链接、博客和截屏视频?
回答by GuyIncognito
I struggled with jQuery in Actionbecause I felt it was more of a reference manual as opposed to a tutorial. Maybe a year ago it was the best reference/tutorial, but now there are a bunch of other alternatives.
我在jQuery in Action 中挣扎,因为我觉得它更像是参考手册而不是教程。也许一年前它是最好的参考/教程,但现在有很多其他选择。
On the other hand, I really enjoyed the book Javascript: The Missing Manualbecause I felt it had better examples. Don't let the title of the book fool you, after a quick introduction to JavaScript the author introduces you to jQuery and uses jQuery for the rest of the book.
另一方面,我真的很喜欢Javascript: The Missing Manual这本书,因为我觉得它有更好的例子。不要被书名骗了,在快速介绍了 JavaScript 之后,作者向您介绍了 jQuery,并在本书的其余部分使用了 jQuery。
I also purchased two PDF Books from Packt Publishing:
我还从Packt Publishing购买了两本 PDF 书籍:
2) jQuery UI 1.6: The User Interface Library for jQuery
Both are recent publications and well written. You can often find "percentage off" discounts from your local user group or on the internet to apply to the purchase price of the downloadable PDF books.
两者都是最近的出版物,写得很好。您通常可以从本地用户组或互联网上找到“百分比折扣”折扣,以适用于可下载 PDF 书籍的购买价格。
If you're looking for a single book that covers both jQuery and the jQuery UI project, then this Wrox book might be useful: Beginning JavaScript and CSS Development with jQuery. A quick google search revealed that you can browse someof the contents of the book online at: Google Book Search - Beginning JavaScript Development With jQuery By Richard York
如果您正在寻找一本同时涵盖 jQuery 和 jQuery UI 项目的书,那么这本 Wrox 书可能会很有用:使用 jQuery 开始 JavaScript 和 CSS 开发。一个快速的谷歌搜索显示你可以在线浏览本书的一些内容:谷歌图书搜索 - 使用 jQuery 开始 JavaScript 开发作者:理查德约克
I would actually recommend learning from samples posted on the web. There are a bunch over at:
我实际上建议从网上发布的样本中学习。有一堆在:
Learning jQuery - a site related to the Packt book listed above
学习 jQuery - 与上面列出的 Packt 书籍相关的站点
Encosia - ASP.NET, AJAX and more
ASP.NET and MVC jQuery related posts at Haacked
回答by E.J. Brennan
I always learn best with a project, a deadline and an unforgiving client.
我总是在一个项目、一个截止日期和一个无情的客户中学习得最好。
Also "JQuery in Action" is a decent book.
“JQuery in Action”也是一本不错的书。
回答by u7867
Build something. Try to build, say, a calculator application using clickable divs instead of buttons and storing data in the html content instead of in javascript variables. This kind of exercise will give you a crappy calculator but good experience in manipulating things.
建造一些东西。尝试构建一个计算器应用程序,比如使用可点击的 div 而不是按钮,并将数据存储在 html 内容中而不是 javascript 变量中。这种练习会给你一个蹩脚的计算器,但在操作方面有很好的经验。
回答by azamsharp
The best way to learn is to start building something. You can take any personal project of yours and try to implement jQuery on it. Another good way to learn any technology is to take part in forums. You are at the right place (StackOverFlow)! There is a tag for JQuery which you can use to see all the JQuery questions. Try to find solution to the problems. This will help you and also the other person who is trying to look for the answer!
最好的学习方法是开始构建一些东西。您可以使用您的任何个人项目并尝试在其上实现 jQuery。学习任何技术的另一个好方法是参加论坛。您来对地方了 (StackOverFlow)!有一个 JQuery 标签,您可以使用它来查看所有 JQuery 问题。尝试找到问题的解决方案。这将帮助您以及其他试图寻找答案的人!
There is also a 38 Minute FREE JQuery Video that you might want to see to get started.
还有一个 38 分钟的免费 JQuery 视频,您可能希望开始观看。
http://highoncoding.com/Videos/537_Extended_Screencast_on_JQuery_Whole_38_Minutes_.aspx
http://highoncoding.com/Videos/537_Extended_Screencast_on_JQuery_Whole_38_Minutes_.aspx
回答by jhensley
I would suggest familiarizing yourself with JavaScript first. Books from the likes of o'reilly are always a good resource.
我建议先熟悉 JavaScript。来自 o'reilly 之类的书籍总是很好的资源。
As for jQuery, their documentation site is fantastic. http://docs.jquery.com
至于 jQuery,他们的文档站点很棒。http://docs.jquery.com
Good luck!
祝你好运!
回答by bendewey
The jQuery docs are very good. They also have a really cool api that you can use to easily navigate the docs, http://api.jquery.com.
jQuery 文档非常好。他们还有一个非常酷的 api,您可以使用它轻松浏览文档,http://api.jquery.com。
I'm an ASP.NET developer and I found Rich Strahl's blog has a really good intro. An introduction to jQuery (2 Parts)
我是一名 ASP.NET 开发人员,我发现 Rich Strahl 的博客有一个非常好的介绍。jQuery 简介(2 部分)
回答by Canavar
I'm learning it while trying to answer questions on JQuery here in Stackoverflow.
我正在尝试在 Stackoverflow 中回答有关 JQuery 的问题时学习它。
回答by Srikar Doddi
Some ways that I learnt
我学到的一些方法
Get JQuery in ACtion book.
tutorials on docs.jquery.comare pretty good as well
在 Action book 中获取 JQuery。
docs.jquery.com上的教程也很不错
回答by J.W.
JQuery in actionis the best book on this topic.
JQuery in action是关于这个主题的最好的书。
回答by Martin Larsson
Nettuts has some very nice video tutorials, a great place to start at. jquery for absolute beginners
Nettuts 有一些非常好的视频教程,是一个很好的起点。 绝对初学者的jquery