Login   Register  
PHP Classes
elePHPant
Icontem

DBSync: Synchronize the schema of MySQL databases

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-06-06 (9 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 3,005 This week: 2All time: 1,128 This week: 790Up
Version License Categories  
dbsync 1.0GNU General Public Lice...Databases
Description Author  

This class provides a way to synchronize the schema of one or more databases from the schema of a master database.

Currently, the class only synchronizes the database schema, not data in the database tables.

For now it supports MySQL databases but the schema manipulation functions are implemented in a separate driver class. Therefore, support for other types of databases can be implemented by writing new driver classes.

Innovation Award  
PHP Programming Innovation award winner
June 2005
Winner


Prize: One book of choice by O'Reilly
Sometimes it is necessary to alter the schema of a database to introduce new features or change the current features of an application.

Usually the new or changed application features are tested first in a development environment.

When the new developments are ready to go in production, it is necessary to update the schema of the database in production to have the same structure of the database in the development environment.

This class provides a solution for this problem by comparing the schemas of the database in the development and production environments and performing the necessary alterations to synchronize the schemas.

Manuel Lemos
Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 31
All time rank: 252 in Portugal Portugal
Week rank: 154 Down4 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file class.dbsync.mysql.php Class MySQL Sync Driver
Plain text file class.dbsync.php Class Main Class
Accessible without login Plain text file README Doc. Read this!
Accessible without login Image file reload.png Icon Image on test.php
Accessible without login Plain text file test.php Example Test script

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,005All time:1,128
 This week:2This week:790Up
User Ratings User Comments (3)  
 All time
Utility:82%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:82%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:434