The particular DBMS talked about in the chapter is MySQL, which is a relational database. The authors start out with a little terminology, then dig right into how the database fits into the software stack for the project as the persistence layer. The software stack that I'm using for the homework is a LAMP stack because I'm running a Linux box. Then they go through connecting a project to a database, keys, info about tables, and some naming conventions for tables. Then comes the cool stuff.
Two of the things that makes database design interesting are the aspects of security and integrity. Straight from the book, here are what a secure database accomplishes:
- It prevents unauthorized or accidental disclosure, alteration, or destruction of data.
- It prevents unauthorized or accidental access to data considered confidential to the organization or individual who owns the data.
- It ensures data integrity, so that the data stored in the database are always valid and accurate.
Finally, the last part of the chapter offers some insight on how to ensure that any changes made to the database do not have a detrimental effect, and all functionality remains the same. As in previous chapters, this involves modification of the unit tests to include those changes and then refactoring. If a part of the database has been changed or streamlined, then perhaps something in the class that uses that part of the database can also be streamlined or removed. Coming up...chapter 7 exercises.
No comments:
Post a Comment