<pedrocorreia.net ⁄>
 

<Dictionary Based Database Upgrades ⁄ >




clicks: 286 286 2009-01-06 2009-01-06 goto programacao myNews programacao  Bookmark This Bookmark This


The number one search term that brings people to this blog is "data dictionary." So this week I will begin a series on how to use the data dictionary to improve your own productivity and reduce errors.

Building And Upgrading

This week we are going to see how to use a data dictionary to eliminate upgrade scripts (mostly) and make for more efficient upgrades. The approach described here also works for installing a system from scratch, so an install and an upgrade become the same process.

The major problems with upgrade scripts are these:

* They are the least-tested code in any system, and are the most likely to break. If a script breaks and anybody but the original programmer is running the upgrade, this leads to aborted upgrades and upset customers.

* They are horribly inefficient when a customer upgrades after a long time: the same table may be rebuilt many times as script after script adds a column or two.

By contrast, a dictionary-based upgrade can take any customer from any version of your software and in the fewest steps possible bring them completely current, with no possibility of broken scripts.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://database-programmer.blogspot.com/2009/01/dictionary-based-datab...




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls

One of the reasons ASP.NET is successful is that it lowers the bar for Web devel (...)

clicks: 501 501 2006-07-13 2006-07-13 goto url (new window) msdn.microsoft.... goto myNews programacao


7 tips for lightning fast PHP sites

I was recently creating a small tool in PHP and found myself hitting the max exe (...)

clicks: 431 431 2007-09-23 2007-09-23 goto url (new window) torrentialwebde... goto myNews programacao


Microsoft and Zend taking PHP on Windows to the next level !

I've been talking to developers about PHP for a very long time and I've been tal (...)

clicks: 423 423 2007-10-15 2007-10-15 goto url (new window) joeon.net/archi... goto myNews programacao


Mastering Ajax, Part 5: Manipulate the DOM

Use JavaScript to update your Web pages on the fly. Last month Brett introduc (...)

clicks: 481 481 2006-10-12 2006-10-12 goto url (new window) www-128.ibm.com... goto myNews programacao


Ruby for PHP programmers

There's no doubt that right now Ruby is generating a lot of buzz in the develope (...)

clicks: 428 428 2006-12-09 2006-12-09 goto url (new window) rsthree.com/200... goto myNews programacao


Ajaxify

Ajaxify is a jQuery plugin. it can convert all links in a web page into an ajax (...)

clicks: 359 359 2008-12-23 2008-12-23 goto url (new window) max.jsrhost.com... goto myNews programacao


Prototype Sucks 2.0

Another day, another article bashing the Javascript toolkit everyone loves to ha (...)

clicks: 730 730 2006-12-30 2006-12-30 goto url (new window) ajaxian.com/arc... goto myNews programacao


How to make a navigable &amp; horizontally scrollable portfolio

In this short tutorial I'll be demonstrating how easy it is to create your own h (...)

clicks: 408 408 2008-11-08 2008-11-08 goto url (new window) enhance.qd-crea... goto myNews programacao