Home  >  Article  >  Web Front-end  >  What books can I read to learn JavaScript?

What books can I read to learn JavaScript?

青灯夜游
青灯夜游Original
2021-04-27 16:32:164713browse

Books to read when learning JavaScript: The Art of JavaScript Dom Programming, The Authoritative Guide to JavaScript, Advanced JavaScript Programming, High-Performance JavaScript, JavaScript in a Simple and Simple Language, High-Performance Website Construction Guide, Mastering JavaScript, etc.

What books can I read to learn JavaScript?

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

If programmers want to complete some simple WEB front-end requirements, they must master basic JavaScript programming skills. Therefore, in order to make it easier for everyone to learn Javascript, the following article has compiled classic books on Javascript from entry to advanced, and recommends it to everyone.

"The Art of JavaScript Dom Programming"

Reason for recommendation: This book is definitely a good book for getting started. I also read this book after being exposed to JS for a while. . This book starts from the history of JS - basic syntax knowledge of JS - introduction and simple use of DOM. Now the second edition of this book has been published. Friends who need it can just go to the second edition. Evaluation: concise, practical, detailed, easy to understand, the book is not thick, I believe you can finish it quickly. It is a very good classic introductory book. It runs through an example and fully demonstrates the advantages of JavaScript. It is very powerful.

"The Definitive Guide to JavaScript (5th Edition)"

Reason for recommendation: Very powerful (this name is not for nothing), in fact, I am ashamed to say it. I have never bought this book. Initially, it was because it was quite expensive, so I had to borrow it from a friend to read, but I only read it over the weekend. There are many comments about this book on the Internet. They probably mean that this book is a JS documentation manual. If you have spare money and are used to reading books for inquiries, then pick up a copy. By the way, the sixth edition of this book in English is already out.

"JavaScript Advanced Programming" (Third Edition)

Reason for recommendation: The author of this book is Nicholas C. Zakas, a front-end engineer at Yahoo and a YUI As a code contributor, you can imagine the value of this book, and his books have been widely praised. The second edition of this book has been published, and the content is much updated compared to the first edition. Just go to the second edition. Don't be fooled by the "advanced" title of the book, as long as you have basic knowledge of JS syntax and basic knowledge of DOM, and the beginning of this book will introduce the syntax knowledge of JS and DOM. If you have some basic knowledge of JavaScript, you can read it, but if you don’t have any basic knowledge, you can also read wrox classic books.

Comments: I highly recommend Chapter 5 (Type), Chapter 6 (OOP), and Chapter 7 (Anonymous). Read it a few times, at least understand it completely, and prepare yourself for future advancement. Basics, these chapters are the essence of this book. The pace of this book is a bit faster when you first get started, so it is not recommended for beginners.

"High-Performance JavaScript" "The Essence of JavaScript Language and Programming Practice"

Reason for recommendation: I read "High-Performance JS" first, and this book is by Nicholas Written by C. Zakas, a classic. The book provides a large number of examples of the performance of JavaScript written in different ways in browsers. It is very helpful in standardizing JavaScript code and improving performance. Finally, it mentions many tools and performance tests. The methods are very practical and effective. I can see that the author is very kind (well, I admit it, I am his fan) ^_^. The most memorable sentence: "If JavaScript executes a few Seconds, then it is very likely that you did something wrong." A small number of key knowledge are mentioned repeatedly in "Essence of Language" and "High Performance", but why should I recommend this book? Because this book describes the essence of the JS language. Great, this is an authoritative book that introduces the essence of the JavaScript language, starting from many important knowledge such as "object", "function", "inheritance", "array" and so on. Let me add - this book needs to be read over and over again. Comments: They are both good books, very thin, and the content described is not difficult as long as you have the basics. I believe that after reading this, you will have a new understanding of JS, and you will have a new understanding of advanced issues such as future code specifications and browser differences. If you feel empowered after reading this, congratulations, you Not far from the intermediate level. The advantages are as follows:

(1) Rich scenarios, basically involving all js performance optimization scenarios. Actual test data in different scenarios will also be given, which is real and credible. While reading these scene examples, we also enriched our experience in using js.

(2) It gives many seemingly "sideline" solutions, and these unpopular solutions are precisely the optimal solutions that some people can't find on Baidu to solve the problem.

(3) Talk about the principles while talking about the problems, explain the profound things in simple terms, and do it with ease. Therefore, this book is not only a book about js performance, but also a best annotation for javascript involving browser principles, js parsing principles, user experience and other knowledge.

《JavaScript in a Simple and Simple Language》

Reason for recommendation: A must for Ajax programmers. It talks about a JavaScript framework developed by myself.

"Learning Javascript Data Structures and Algorithms"

Reason for recommendation: This book is relatively unpopular. But he can solve some problems that every js programmer who has become a monk has thought about:

(1) Our array Array is so powerful, but there are few functions such as Stack and Queue. What are we doing with half-assed things?

(2) The data structures we learn seem to be just those things. Why are they so highly praised by everyone, and why do they have to be discussed in different categories?

So this book just tells you the answers to the above questions:

(3) Stacks and queues are not as powerful as Array. There are no Stack and Queue classes just because ES5 doesn't implement them. As a collection of data that has one or more specific relationships with each other, its significance should not be determined by its powerful functions.

(4) Data structure has nothing to do with programming language. When languages ​​die, they will be reborn in the next language. Even if the computer dies, they will be reborn in the next conceptual body.

"JavaScript DOM Advanced Programming"

Reason for recommendation: By studying this book, you can understand how a JS library is generated and write a simple one of your own. JS library, if you plan to study other JS libraries or are studying other JS libraries, then this book will bring your understanding to a new level. It is a must-read for advanced students and a must-read for writing libraries.

Comment: An extremely powerful JS masterpiece. This book is not thin and is highly recommended.

"JavaScript Design Patterns and Development Practices"

Reason for recommendation: This book takes actual application scenarios as examples and tells you how to share design patterns in different js projects. It also introduces the advanced usage of functions in great detail, which can take your understanding of js high-order functions to a higher level. What is commendable is that he also uses Java as an analogy for static languages. Let me analyze these issues for you from the perspective of language unity. Like the previous book on data structures, this book is targeted and can perfectly solve the practical problems of students who have questions about js design patterns. It is more profound, easier to read, and closer to practice than the previous book.

Comment: The book is not thick, but it is really rich and profound in content. I strongly recommend buying it.

"Guide to High-Performance Website Construction" "Advanced Guide to High-Performance Website Construction"

Reason for recommendation: After reading the previous books, we have a clear understanding of the performance and performance of the front-end. The efficiency of our own code has reached a considerable level, and then we are exposed to some of the essence of some front-end engineers. This book explains HTTP requests, CDN, content caching and some common issues in web development.

Comment: The book is not thick, but it talks about practical things. However, whether to use it or not depends on personal and project needs.

《Mastering JavaScript》

Reason for recommendation: JavaScript is very object-oriented. Very modern! Many of the books published and introduced by Turing Education are classics, which are very good. There may seem to be a lot of books recommended by the editor for learning Javascript from introductory to advanced, but you don’t need to read them all carefully. You only need to read them extensively, then select a few books that suit your appetite, and study them carefully.

[Recommended learning: javascript advanced tutorial]

The above is the detailed content of What books can I read to learn 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
Previous article:What does css mean?Next article:What does css mean?