![]() |
Catalog of Architectural Database Refactoringswww.agiledata.org: Techniques for Successful Evolutionary/Agile Database Development |
![]() |
|||||||
|
|||||||||
| Refactoring | Example |
| Add CRUD Methods. Introduce stored procedures (methods) to implement the creation, retrieval, update, and deletion (CRUD) of the data representing a business entity. |
![]() |
| Add Mirror Table. Create a mirror table, an exact duplicate of an existing table in one database, in another database. |
![]() |
| Add Read Method. Introduce a method, in this case a stored procedure, to implement the retrieval of the data representing zero or more business entities from the database. |
![]() |
| Encapsulate Table With View. Wrap access to an existing table with a view. |
![]() |
| Introduce Calculation Method. Introduce a new method, typically a stored function, which implements a calculation that uses data stored within the database. |
![]() |
| Introduce Index. Introduce a new index of either unique or non-unique type. |
![]() |
| Introduce Read Only Table. Create a read only data store based on existing tables in the database. |
![]() |
| Migrate Method From Database. Rehost an existing database method (a stored procedure, stored function, or trigger) in the application(s) which currently invoke it. |
![]() |
| Migrate Method to Database. Rehost existing application logic in the database. |
![]() |
| Replace Method(s) With View. Create a view based on one or more existing database methods (stored procedures, stored functions, or triggers) within the database. |
![]() |
| Replace View With Method(s). Replace an existing view with one or more existing methods (stored procedures, stored functions, or triggers) within the database. |
![]() |
| Use Official Data Source (directly). Use the official data source for a given entity, instead of the current one which you are using. |
![]() |
| Use Official Data Source (via replication). Use the official data source for a given entity, instead of the current one which you are using. |
![]() |
![]() |
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 |