Home  >  Article  >  CMS Tutorial  >  Requires reading JavaScript

Requires reading JavaScript

WBOY
WBOYOriginal
2023-08-31 22:05:061149browse

需要阅读 JavaScript

I'm often asked about books and online resources to learn JavaScript quickly. It seems like everyone wants to get in on the JS action and for good reason; it's a great language that can help you figure out if you're interested in exciting career opportunities. It's also fun to play.

As JavaScript grows in popularity, the number of books, blogs, and tutorials about the language has grown exponentially, and while it’s impossible for me to know them all, I’ve discovered a few gems that I really enjoy and would love to share with you together.


books

Please note that I only list books that I have read and can recommend. You'll probably find tons of equally great books, which is cool.


Professional JavaScript for Web Developers Author: Nicholas Zakas

This is still my most recommended book. I tell any JavaScript developer (aspiring or expert) to buy it and keep it. Nicholas Zakas has written a wonderful book that does an excellent job of covering all major aspects of the language. Want to learn the basics? It's there. Want to learn about OOP in JS? It's there. Want to learn about the Document Object Model? Okay, you get the gist.

This is a complete reference written in a very easy-to-understand manner that guides you from the basics to advanced JavaScript features. Hence why I recommend it to developers of all levels.


JavaScript Patterns Author: Stoyan Stefanov

Understanding the most common and useful JavaScript patterns and how they work is crucial to properly managing and organizing your code. In many cases, the pattern you choose will become the foundation of your application and play an important role in deciding how your site is built.

Stoyan is one of the world's best JavaScript developers, having worked on large sites at Yahoo! and Facebook, and is part of the team that manages the YUI framework. He knows his stuff and has distilled his understanding of the most common patterns into an easy-to-read book.


Object-Oriented JavaScript: Creating Extensible, Reusable, High-Quality JavaScript Applications and Libraries, by Stoyan Stefanov

Oh JavaScript OOP, how you laugh at me with your prototypes. Since JS is not a traditional class-based object-oriented language, it can be a little strange to learn about things like prototypal inheritance or mixins. Stojan stepped up again and broke down the subject well. It starts with some language basics to get you started, but quickly dives into understanding how OOP works and how you should take advantage of the language's capabilities to build reusable objects.


High Performance JavaScript Author: Nicholas Zakas

We all want our code to run fast, so we are constantly tweaking and refactoring. It's cool to learn from hard experiences, but I prefer building resources based on someone's previous experience. This book is designed to introduce you to tweaks that can help optimize the performance of your code. Whether it's improving loop performance or using timers to make your UI more responsive, this book has you covered.


Effective JavaScript Author: David Herman

When I first read this book, I wasn't sure I wanted to get it. I thought it was a rehash of other books I'd read, but when I saw Alex Russell of Dojo and Chrome Frame recommending it, I picked it up. I'm really glad I did.

Dave is Mozilla's TC39 representative and an expert on both the academic and practical aspects of the language. This book is great because it's not about the JS language, it's about using the language in the best way possible. What it does is clarify how a specific part of the language works (eg: coercion, currying, or automatic semicolon insertion) so that it doesn't bother you later. This is definitely a book for anyone who wants to take their JS understanding to the next level.


Secrets of the JavaScript Ninja by John Resig and Bear Bibeault

No matter what you think of jQuery, John Resig deserves insane respect and praise for building the most popular JavaScript library of all time and for emphasizing the power and flexibility of JavaScript. The book took four years to complete, but it was worth the wait.


Freebies

I realize many of us are on a tight budget and free is always a good option. Luckily, I found a website that provides you with free resources. The JSbooks website, created by Revolunet, provides placeholders for a variety of high-quality online references, such as:

  • jQuery Basics
  • Addy Osmani develops Backbone.js applications
  • Eloquent JavaScript

there are more. No, these are not stolen e-books that you find on scam websites. These icons point only to established and publicly available resources, acting as directories rather than hosts.


blog

There are so many people sharing great content that it can be difficult to filter out which ones to keep up with. As my experience grows I try to narrow down the blogs I read and I think these work really well:


DailyJS

The name says it all. It's a combination of news and tutorials focusing on front-end and server-side JavaScript code. It also has regular reviews of jQuery plugins.


Nicolas Zakas

I think it's obvious by now that I'm a Nicholas fan. His blog is a great resource, as is his book, and addresses advanced JavaScript concepts that every developer should keep in mind.


David Walsh

I remember when he first showed up; an arrogant, in-your-face guy, learning the ropes and building a reputation. Since then, David has worked his way up to becoming a great developer, contributing to MooTools and the Dojo framework, and now working at Mozilla. He creates great articles that you can use immediately.


Bad JavaScript

Another great news and tutorial site. Reminds me of Ajaxian's past because it allowed me to discover really cool libraries and new technologies.


JavaScript Weekly

This is the only email newsletter I keep in my inbox because each week’s issue is packed with awesomeness. Seriously, I don't know how Peter Cooper does it, but he manages to find a lot of great articles to read. Just be careful because it's a total productivity killer.


Adi Osmani

Addy is one of the most talented developers out there, and in his blog he demonstrates his breadth of knowledge by covering everything from jQuery promises to AMD. His article on writing modular JavaScript is epic.


Peter van der Zee

He calls me old and says I'm on crutches, but I still respect Peter's incredible knowledge of JavaScript. He is part of the younger generation that will be the future of web development. Get to know this person.


Juriy Zaytsev aka kangax

When you're ready to learn from the big guys, start by subscribing to Juriy's blog. He eats, drinks, and sleeps in ECMAScript.


2ality

I have never met or talked to Dr. Axel Rauschmayer, but when I found his website I had a "OMG, this guy is so sharp" moment. When you read his post, you'll understand why. They're deep, like going into the depths of ECMAScript. Really great stuff.


Nettuts

Yeah, yeah, I'm biased, but it does have great stuff. If you didn't agree, you wouldn't be reading this. :)


Attend class

When a book or blog doesn't work and you want to get your hands dirty, you now have a host of offline and online courses to help you get started quickly:

  • Nettuts Advanced JavaScript Course (Online)

    You can find courses not only on the basics of JavaScript, but also on frameworks like Backbone and topics like OOP. 李>

  • JavaScript Masterclass (Online)

    I took an online course from Thomas Fuchs and Amy Hoy. Well worth it, especially since the instructor is available for Q&A.

  • appendTo's Free JavaScript Training (Online)

    A free set of eight video courses to help you improve your JavaScript skills.

  • Bocoup Training (Online and Offline)

    Bocoup has a great training program. They offer some online videos, but the real value comes from attending one of their many training sessions in person.


Get help

One of the hardest parts of learning any new programming language is getting support. You have questions and want answers.

  • JSMentors

    I started JSMentors with Asen Bozhilov to give developers a safe and useful place to ask questions about JavaScript. It comes from my experience in other places that were less than ideal, not to mention parts of the internet that weren't beginner-friendly. We brought in a number of renowned experts to help answer questions, and the group did a great job.

  • StackOverflow

    # I personally think this is a great resource. The website helps developers solve everyday problems and includes sections for JavaScript and related libraries such as jQuery.


in conclusion

Hope I'm not overwhelmed by all these lists. It’s really cool that we have so many options for learning JavaScript and I’ve only scratched the surface. Remember, pick what works best for you and take your time. JavaScript is a very easy language to use and it does take some time to master all the nuances. Thankfully, you have a variety of learning methods and options to help you answer your questions.

The above is the detailed content of Requires reading JavaScript. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn