Synchronize Live and Development Sites Using the PEAR Installer
Greg Beaver recently posted a short tutorial on why and how to use PEAR to migrate code to your production server using PEAR. The article is titled Do you develop a website? It is infinitely better to synchronize live and development sites using the PEAR Installer . That’s a mouthful of a title but it gets the point across.
In the article Greg talks about an idea he first published in his book The PEAR Installer Manifesto. The idea is to use PEAR Installer, along with version control to manage the process of synchronizing your development box with your production site. Here’s let’s steal a little quote, shall we?
A few years back, while designing the next incarnation of the PEAR Installer, I realized that its ability to do file transactions, intrinsic support for dependencies and versioning make it ideal for managing not just PHP libraries and applications, but also for managing complete websites, and not just the PHP files, but all file-related events. There were just a few elements missing: how to synchronize a database? It turns out that the answer is also PEAR-related, and was one of the features integrated in PEAR 1.4.0 and newer.
It’s a great article to read for any release manager or develoepr who has the responsibility of also migrating code.
=C=

Comments