In this chapter, we will go through the basics of object-oriented programming and discuss the object-oriented design principles in detail. This will get us prepared for the advanced topics covered later in the book. This chapter will also give a brief introduction to the concept of design patterns so that you will be able to appreciate the context and application of design patterns in software development. Here we also classify the design patterns under three main aspects—creational, structural, and Behavioral patterns. So, essentially, we will cover the following topics in this chapter:
Understanding object-oriented programming
Discussing object-oriented design principles
Understanding the concept of design patterns and their taxonomy and context
Discussing patterns for dynamic languages
Classifying patterns—creational pattern, structural pattern, and behavioral pattern