21.4. Summary

This chapter was an exploration of the planning steps needed to develop a plan for morphing a requirements document into an application. I discussed the three main parts of the application and their use. Starting with the core of the application, I demonstrated with the UML diagrams how I will create the logic and views for the application. As I moved through the user interaction and management section of the application, more objects emerged. Data access objects, collections and database manipulation objects were diagramed. Additionally, the main module pattern was defined for interacting with the web visitor. Finally, the most complex section of the application was addressed. The relationship of users and contacts was described. Additionally, the contact, group, and contact method object relationship was diagramed. The import method from the existing company contact system was also described. Decorators were also defined to provide the required interaction with contact methods. The next chapter will take all of this information and step through the process of coding the application.

Get Professional PHP Design Patterns 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.