Home >Web Front-end >JS Tutorial >Javascript core reading: language core_basic knowledge
Before reading this book, I would like to thank the Taobao technical team for translating this JavaScript core, and thank Flanagan for writing this book. Thank you for your selfless sharing, and I only dedicate this note to your hard work.
1: JavaScript language core
After this chapter, we will mainly focus on the basics of javascript. In Chapter 2, we explain JavaScript comments, semicolons and unicode character sets; Chapter 3 will be more interesting, mainly explaining JavaScript variables and assignments
Here are some example codes illustrating the key points of the first two chapters.
The following client-side javascript uses events, which gives a very important event: the "load" event registers an event handler Chenxing. A colleague also showed a more advanced method of registering a "click" event handler
In Chapters 15-17, it describes how to use JavaScript to control the content , style and behavior (event handling) of web pages. The API discussed in this chapter is somewhat complicated and has poor browser compatibility so far. , it is for this reason that many JavaScript programmers choose to use "libraries" or "frameworks" to simplify their coding work. The most popular one is jQuery. Chapter 19 introduces the jQuery library
The four chapters in the second part we have mentioned so far all focus on web pages. The subsequent four chapters will focus on stores and web applications. These chapters do not discuss how to write control content. Styles and Thrive scripts use a web browser to render documents; instead, it explains how to use the web browser as an application platform. It also describes the APIs used to support more sophisticated client-side web applications and modern browsers.
Chapter 18 explains how to use javascript to initiate http requests.
Chapter 20 describes the data storage mechanism and session state maintenance of client applications, Chapter 21 covers the new generation of application API/network storage graphics driven by HTML5, and what support these are based on Browser development of new APIs. Zhejiang is the most exciting time for you as a JavaScript programmer. The last 4 chapters don't have much sample code. The following examples use these new APIs.