As you have been learning throughout this part of the book, design patterns are extremely useful when developing large-scale applications. Design patterns provide code flexibility and help establish a way of handling common situations that occur in the logic of an application. The Observer pattern is an extremely important addition to the sample application because it creates a way of handling an unlimited number of objects as a collection with only a few object methods. Let's learn more about how this pattern accomplishes so much with so little. |