Sep 29
Digg
Stumbleupon
Technorati
Delicious

Dynamic Propel/Doctrine connection

Sometimes you may need to change access to database dynamically inside your project (may be very usefull for sharding approaches). Also wondering what if disable DB access at all from config/settings.yml:

use_database: false

and create connection only where it’s needed. I’m sure this would speed up [...]

Author: symfonian