Designing and Implementing a Multi-Tier Application in PHP: A Succinct Example
This chapter gets straight to the essence of multi-tier design under PHP by walking through the design and implementation of a complete application. Though the application is simple in some ways—its database consists of a single table, for example, and there is no elsewhere layer—it illustrates some important points. The idea is that you’ll get a taste of these key concepts here, and explore them more fully in later chapters.
5.1 Examining the Problem
The requirement we aim to solve in this chapter is one of navigation. Our customer, an airline, wants us to provide an application that calculates the distance between various world cities. For example, a ...
Get Multi-Tier Application Programming with PHP 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.