Login   Register  
PHP Classes
elePHPant
Icontem

Update Environment

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Alexsandro Souza
Name: Alexsandro Souza <e-mail contact>
Packages: 2 Browse all classes by Alexsandro Souza Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 25
All time rank: 2103147 in Brazil Brazil
Week rank: 260 Up18 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This class can update database and files from a remote server.

The main class can connect to a remote MySQL database using PDO and retrieve the list of tables to compare with the locale MySQL database synchronize the new tables that need to be created or the existing tables that need to be updated.

Another class can also synchronize files referenced by specific database table records as they contain data not stored in the database itself.

A list of specific tables may be intentionally excluded from the synchronization process.

  Classes of Alexsandro Souza  >  Update Environment  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Update Environment
Base name: update-enviroment
Description: Update database and files from a remote server
Version: 1
PHP version: 5.3
License: BSD License
All time users: 629 users
All time rank: 4328
Week users: 1 user
Week rank: 2150 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Systems administration System configuration and management View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
September 2012
Winner

Prize: One yearly subscription to the PHP Solutions magazine
Some database applications manage content information that can be large. Usually those application store large content in separate files and just keep a reference in the database to the data files.

In this situation, if you want to backup or synchronize the database contents you also need to transfer the data files.

This class provides a solution that can synchronize both the MySQL database data and any separate files associated to given table fields.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageclass (4 files)
Files folder imagedownloaded (2 files)
Files folder imageexample (3 files)
Accessible without login Plain text file README.md Data Auxiliary data

  Files  /  Files folder image class  
File Role Description
  Plain text file DataBase.class.php Class Class source
  Plain text file Download.class.php Class Class source
  Plain text file RecordFilter.class.php Class Class source
  Plain text file UpdateDataBase.class.php Class Class source

  Files  /  Files folder image downloaded  
File Role Description
  Accessible without login Image file pendrive.gif Photo Photograph
  Accessible without login Image file testeimage.png Photo Photograph

  Files  /  Files folder image example  
File Role Description
  Accessible without login Plain text file Customer.class.php Aux. Example script
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file Product.class.php Aux. Example script

Download all files: update-enviroment.tar.gz update-enviroment.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.