Skip to Main Content
Pro PHP MVC
book

Pro PHP MVC

by Chris Pitt
October 2012
Beginner to intermediate content levelBeginner to intermediate
500 pages
10h 29m
English
Apress
Content preview from Pro PHP MVC

CHAPTER 10

images

Models

Up until now, we have created classes and libraries that form the foundation of our framework, but that aren’t particularly concerned with how applications will use them. All that is about to change.

As I mentioned before, calculation is nothing without data to calculate on. Most projects you will work on have one thing in common: they need to store, manipulate, and return and display data. You can achieve this with the use of a database.

In Chapter 9, we learned how to create an extensible database library, and wrote a MySQL connector/query class pair. Talking directly to the database is one way to get the job done, but it ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro PHP Programming

Pro PHP Programming

Peter MacIntyre, Brian Danchilla, Mladen Gogala
Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff

Publisher Resources

ISBN: 9781430241645Purchase book