Chapter 21. Choosing Design Patterns and Planning

With a set of requirements that are clearer, it is time to continue with the planning portion of this project. I'm going to step through each section of the application, detailing my thoughts as well as providing UML diagrams. I know it's tempting to just jump in and code right away and hope to sprinkle in some Design Patterns. However, the benefits of preplanning this application will hopefully become very apparent as I analyze each step.

In general, I'm making some assumptions about the sections and pieces of this application. I'm going to draw UML diagrams to keep for the programming portion. Experience has taught me that these blueprints both encourage me to remember to use my collection of Design Patterns and give me a roadmap for development. An added benefit is the chance to provide an updated estimate on the project after the pieces are clearly laid out.

The sections of the application as I see it are:

  • Main core

  • User interaction and administration

  • Contact administration

Let's begin with the core of our 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.