O'Reilly logo

Agile Principles, Patterns, and Practices in C# by Robert C. Martin, Micah Martin

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

37. The Payroll Case Study: The Database

image

“Experts often possess more data than judgement.”

—Colin Powell

In previous chapters, we implemented all the business logic for the payroll application. That implementation had a class, PayrollDatabase, that stored all the payroll data in RAM. This worked fine for our purpose at the time. However, it seems obvious that this system will need a more persistent form of data storage. This chapter explains how to provide that persistence by storing the data in a relational database.

Building the Database

The choice of database technology is usually made more for political reasons than for technical reasons. ...

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