- Mastering JavaScript Design Patterns
- Simon Timms
- 80字
- 2021-08-05 17:14:56
Chapter 2. Organizing Code
In this chapter, we'll look at how to organize JavaScript code into reusable, understandable chunks. The language doesn't lend itself well to this sort of modularization, but a number of methods of organizing JavaScript code have emerged over the years. This chapter will argue the need to break down code, and then work through the methods of creating JavaScript modules.
We will cover the following topics:
- Global scope
- Objects
- Prototype inheritance
- ECMAScript 6 classes
推薦閱讀
- SpringMVC+MyBatis快速開發(fā)與項目實戰(zhàn)
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- NativeScript for Angular Mobile Development
- C語言最佳實踐
- Implementing Cisco Networking Solutions
- Python語言實用教程
- Mastering Backbone.js
- Python:Deeper Insights into Machine Learning
- Everyday Data Structures
- Anaconda數(shù)據(jù)科學(xué)實戰(zhàn)
- Implementing Microsoft Dynamics NAV(Third Edition)
- Python應(yīng)用開發(fā)技術(shù)
- Java程序設(shè)計入門(第2版)
- SAS編程演義
- Java核心編程