O'Reilly logo

Pro PHP MVC by Chris Pitt

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

CHAPTER 9

images

Databases

Most large applications have one thing in common: they are built to work with a database. All the calculation in the world means nothing without data to perform it on. Think of the rules of any sport. The rules are there to make sure decorum is upheld, and to determine who the winner is. Rules mean very little without the teams who make the score.

Similarly, business processes and calculations mean very little unless they involve real-world data. But in order to get at that data, or to store it, or to change it, we need code to connect to a database and perform the various functions required. That is the code we seek to create ...

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