When we talk about instruments, sometimes the guitar gets all the credit. Of course guitars are great, but an electric guitar on its ownâeven a hollow-bodyâis only so loud. For giving one of the world's favorite instruments its voice, guitar amplifiers deserve a little love too.
This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Along the way, we cover many of the recent innovations such as AJAX, JSON, and interesting design and coding patterns.
In This Chapter. In this chapter we will familiarize ourselves with the principles of object-oriented programming: class inheritance, interface implementation, abstraction of data and behavior, encapsulation of data and class implementation, polymorphism and virtual methods.n order for a programming language to be object-oriented, it has to enable working with classes and objects as well as the implementation and use of the fundamental object-oriented principles and concepts: inheritance, abstraction, encapsulation and polymorphism.