![]() |
Catalog of Referential Integrity Database Refactoringswww.agiledata.org: Techniques for Successful Evolutionary/Agile Database Development |
![]() |
|||||||
|
|||||||||
| Refactoring | Example |
| Add Foreign Key Constraint. Add a foreign key constraint to an existing table to enforce a relationship to another table. |
![]() |
| Add Trigger For Calculated Column. Introduce a new trigger to update the value contained in a calculated column. |
![]() |
| Drop Foreign Key Constraint. Remove a foreign key constraint from an existing table so that a relationship to another table is no longer enforced by the database. |
![]() |
| Introduce Cascading Delete. Ensure that the database automatically deletes the appropriate “child records” when a “parent record” is deleted. |
![]() |
| Introduce Hard Delete. Remove an existing column which indicates that a row has been deleted and instead actually delete the row. |
![]() |
| Introduce Soft Delete. Introduce a flag to an existing table which indicates that a row has been deleted instead of actually deleting the row. |
![]() |
| Introduce Trigger for History. Introduce a new trigger to capture data changes for historical or audit purposes. |
![]() |
![]() |
This book describes, in detail, how to refactor a database schema to improve its design. The first section of the book overviews the fundamentals evolutionary database techniques in general and of database refactoring in detail. More importantly it presents strategies for implementing and deploying database refactorings, in the context of both "simple" single application databases and in "complex" multi-application databases. The second section, the majority of the book, is a database refactoring reference catalog. It describes over 60 database refactorings, presenting data models overviewing each refactoring and the code to implement it.
|
![]() |
Working Effectively With Legacy Code describes techniques for refactoring and testing existing, legacy code. Few teams have the luxury of building everything from scratch, instead they must work from an existing base of code, or minimally integrate with other legacy systems. In this book Michael Feathers covers the fundamental techniques which agile developers need to effectively work in these sorts of environments. You don’t need to stop all development and rework your legacy code, instead you can ease into it over time, and this book shows you how to do that successfully. |
|
I actively work with clients around the world to improve their information technology (IT) practices as both a mentor/coach and trainer. A full description of what I do, and how to contact me, can be found here.
Last updated: February 15, 2006
Copyright © 2002-2006 Scott W.
Ambler
This site owned by
Ambysoft Inc.
|
About This Site | Mailing List |
Site Map |
Contact Me |
Suggested Books |