22.2. Application Programming

Just like the planning phase, the programming portion of this chapter will be broken up into steps. These steps will be nearly identical to the steps discussed in the previous chapter. As mentioned before, the UML diagrams make great blueprints to move the programming of the application forward.

Three main sections will focus on:

  • Main Core

  • User Interaction and Administration

  • Contact Administration

The Main Core section will address the UML diagrams of the objects that need to be created. Additionally, the file system layout and any other additional configuration options to make use of the objects will be described. The User Interaction and Administration section will continue on in this fashion. The UML diagrams will be transformed to PHP. Any additional testing processes and configurations will be mentioned. Finally, the Contact Administration process will conclude this chapter's application programming section by following the similar pattern. The Contact Administration section will make use of that .csv file that was created earlier.

22.2.1. Programming the Core of the Application

The core of the application is needed to launch any of the functionality in the User and Contacts section. The core is a necessity to having the website function but doesn't heavily showcase any of the design patterns specified in the reference chapters. Patiently follow me through creating the core of the application so that I can get to the sections demonstrating those ...

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.