Summary

In this chapter, we moved away from language features and delved into the world of object-oriented design. You learned how to create a Controller class to process requests from a client. You also learned how to select Command objects using a CommandFactory class and how to implement Command classes. Finally, you learned how to create a Dispatcher class to manage the deployment of views.

I very much hope that you have enjoyed reading this book as much as I have enjoyed writing it.

Get Sams Teach Yourself PHP in 24 Hours, Third Edition 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.