by Chris Pitt

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required