php Programming Glossary: setdefaultadapter
Can a PHP script continue running after ending the HTTP request? http://stackoverflow.com/questions/1428340/can-a-php-script-continue-running-after-ending-the-http-request
Master / Slave switch in the Zend Framework application layer http://stackoverflow.com/questions/1826798/master-slave-switch-in-the-zend-framework-application-layer a Zend_Db_Table object on creation of the mapper and then setDefaultAdapter to the slave. Now inside of the base mapper classe I have the.. getDefaultAdapter this _writeDb Zend_Db_Table_Abstract setDefaultAdapter this _writeDb this _tableGateway new Zend_Db_Table this _tableName.. ... slave writeDb Zend_Db factory ... master Zend_Db_Table setDefaultAdapter readDb myReadTable new MyTable use default adapter myWriteTable..
Zend_Db without Zend Framework http://stackoverflow.com/questions/4840941/zend-db-without-zend-framework then you can make this this default adapter Zend_Db_Table setDefaultAdapter db In any case it's helpful to have this adapter saved someplace..
|