Summary
The goal of this chapter was to provide a quick overview of some OOP concepts in JavaScript. Having a good understanding of these concepts is important as we will be using them in implementing our modular architecture in the following chapters.
In this chapter, we looked at various ways of creating objects as well as concepts such as closure, encapsulation, and inheritance.
The assumption that I made was that you likely have a fairly good experience with JavaScript and are probably familiar with at least some of these concepts.
My intent was to provide "just enough" of a review of JavaScript OOP concepts to get you ready for future chapters.
There are many good resources available that can help you extend your knowledge of Object Oriented JavaScript principles further.
Two of my personal favorites on this topic are:
- Object-Oriented JavaScript, Stoyan Stefanov, Kumar Chetan Sharma
- Professional JavaScript for Web Developers, Nicholas C. Zakas
In the next chapter, we will start focusing...