官术网_书友最值得收藏!

What This Book Covers

Chapter 1 talks briefly about the history, present, and future of JavaScript, and then moves on to explore the basics of object-oriented programming (OOP) in general. You then learn how to set up your training environment (Firebug) in order to dive into the language on your own, using the book examples as a base.

Chapter 2 discuses the language basics: variables, data types, arrays, loops, and conditionals.

Chapter 3 covers functions. JavaScript has many uses for functions and here you learn to master them all. You also learn about the scope of variables and JavaScript's built-in functions. An interesting, but often misunderstood feature of the language—closures—is demystified at the end of the chapter.

Chapter 4 introduces objects: how to work with properties and methods, and the various ways to create your objects. There's also an overview of the built-in objects in JavaScript, such as Math and Date (just an overview, Appendix C has all the details).

Chapter 5 is dedicated to the all-important concept of prototypes in JavaScript.

Chapter 6 expands your "thinking in JavaScript" horizon, discussing a dozen ways to implement inheritance in JavaScript.

Chapter 7 is the browser chapter. In this chapter, you learn about BOM (Browser Object Model), DOM (W3C's Document Object Model), browser events, and AJAX.

Chapter 8 dives into various unique JavaScript coding patterns, as well as several language-independent design patterns, translated to JavaScript from the Book of Four, the most influential work of software design patterns.

Appendix A lists the reserved words in JavaScript.

Appendix B is a reference to the built-in JavaScript functions, together with sample uses.

Appendix C is a reference that provides detail and provides examples of the use of every method and property of every built-in object in JavaScript.

Appendix D is a regular expressions pattern reference.

主站蜘蛛池模板: 台南市| 黄冈市| 闽清县| 丹江口市| 平果县| 梁平县| 南宁市| 邛崃市| 兴山县| 乌审旗| 达孜县| 台北市| 武穴市| 屯留县| 杭州市| 洛隆县| 福建省| 松潘县| 磴口县| 龙山县| 拜泉县| 盐池县| 莱芜市| 理塘县| 安平县| 威信县| 井陉县| 潢川县| 万宁市| 宁陕县| 辽宁省| 广宁县| 红安县| 同仁县| 江孜县| 崇明县| 菏泽市| 梅河口市| 公安县| 沙雅县| 麦盖提县|