Exercises
Take a look at your own projects. Can you find anything that would benefit from an object-oriented approach? Is there any functionality that you could extract and develop as a reusable class? We covered the database abstraction (DBA) layer functions in Hour 12, "Working with the DBA Functions." Write a class for reading and writing with DBA functions. What exceptions might you need to throw?
|