Hello, guys. Need your advice very much.
We'are working on the PHP project, which was in development for 2+ years, and now the team is ready and feel willingness to switch the development on ORM rails. Because it realy fasts the development and allow you to operate by Objects and not think in terms of SQL code and database tables in most times.
We have decided to choose Doctrine ORM, because it has YAML data fixtures load - we need it very much for our unit-tests.
The main fear I have, is that using of new ORM framework can slows the site's performance. We can't make a shared connection between current DB abstraction layer(which uses pg_connect syntax, not PDO-compatible). DB connection mechanism can't be switched to PDO-compatible, because there are lots of SQL code incompatible with PDO_SQLITE syntax.
So, as I understand if we will start using it, it will double our DB connections. I'm not sure DB server will be able to handle this.
What would you recommend us to do in this circumstances? Thanks, in advance Regards