Using object-oriented design principles to organize your applications can help you build re-usable, maintainable, and well-structured solutions. With classes as building blocks of your application, you can focus on the specifics of the application rather than on what is going on "under the hood".
In this chapter, you saw methods for code reuse when building object-oriented PHP applications on top of Oracle. In particular, you saw how to build a new class from scratch and how to build a child class upon an existing one, customizing the parent class to address a specific problem. You also learned how to use the try/catch/throw
exception-handling paradigm in object-oriented PHP applications.
Finally, you learned that Oracle objects, like PHP objects, make it possible to encapsulate operations along with the data, thus allowing you to take advantage of reusing business logic implemented with object's methods.