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

  • Object/Oriented JavaScript
  • Stoyan Stefanov
  • 305字
  • 2021-08-13 19:25:48

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.

主站蜘蛛池模板: 个旧市| 合川市| 湟中县| 会理县| 加查县| 基隆市| 达尔| 嵩明县| 南川市| 固镇县| 龙海市| 来凤县| 威海市| 漳州市| 襄汾县| 淳化县| 措勤县| 玉门市| 嘉峪关市| 辽阳县| 通州区| 大姚县| 澳门| 甘泉县| 醴陵市| 东乌| 霍山县| 南江县| 交口县| 隆林| 南丹县| 望城县| 夹江县| 洞口县| 三河市| 济南市| 乌兰县| 平和县| 永寿县| 镇平县| 贵阳市|