Summary

In this chapter, you have learned what object-oriented programming is, and how to apply it to our web application for creating a clean code, which is easy to maintain. You also know how to manage exceptions properly, the design patterns that are used the most, and how to use anonymous functions when necessary.

In the next chapter, we will explain how to manage the data of your application using databases so that you can completely separate data from code.

Get Learning PHP 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.