News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Federico Cargnelutti's Blog:
Database Replication Adapter for Zend Framework Applications
October 05, 2009 @ 09:33:00

Federico Cargnelutti has added a new post to his blog today looking at a database replication adapter he's created for the Zend Framework - the ReplicationAdapter.

In 2008, Paul M. Jones announced the release of an SQL adapter that allows Solar users to connect to master/slave database installations. My first reaction was: Great! This will inspire other FOSS developers to create similar components. And guess what, it did. I wrote my own ReplicationAdapter. It's not great, but it's flexible enough to support the most commonly used replication scenarios:

He gives examples of how it can be used for single-master replication, multi-master replication and how the adapter can be used to create a distributed caching system for database connections. A brief Zend Framework-based example is also included.

0 comments voice your opinion now!
database replication adapter zendframework


blog comments powered by Disqus

Similar Posts

phpRiot.com: Fetching Data With Zend_Db

Sebastian Bergmann's Blog: PHPUnit Status Update

Zend Developer Zone: Zend Framework DB Access Webinar

Zend Developer Zone: Work with XML Data in the Zend Framework

Brandon Savage's Blog: Designing Databases: Picking The Right Data Types


Community Events





Don't see your event here?
Let us know!


version symfony release community artisanfiles tool voicesoftheelephpant library framework laravel security podcast opinion language composer series list interview conference introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework