O'Reilly logo

Professional PHP Design Patterns by Aaron Saray

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required