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

Jani Hartikainen's Blog: Food for thought: utilizing models in MVC

CodeUtopia Blog: Database helper for PHPUnit

Zend Developer Zone: Security Tip: Use a Database Abstraction Layer to help prevent SQL Injection

Kristian Kohntopp's Blog: Annotations to "Five Common PHP database problems"

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman


Community Events

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


release laravel community unittest api conference voicesoftheelephpant introduction interview podcast wordpress extension development language framework laravel5 middleware library opinion series

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