2009年8月28日星期五

[fw-db] Read/Write from/to different servers BA7-899

Hi,

Sorry if this question has already been addressed (actually I've found this
:
http://www.nabble.com/OOP-Design-question-related-to-Zend_Db_Adapter-to21754
135.html
, but nobody answered to william0275).

I would like to provide an abstraction layer so that read db queries would
be routed to one server (say A) and write queries to another server (say B),
so that it is completely transparent to developers (they would continue to
use $db->select(), $db->insert(), $db->update() and $db->query() as usual) .
Is there a classical solution for that ?

Jean-Michel

没有评论: