DoctrinePHPcrBundle: Why use a separate connection if I also use ORM?

37 Views Asked by At

In the DoctrinePHPCRBundle documentation is stated:

It is recommended to use a separate connection to a separate database if you also use Doctrine ORM or direct DBAL access to data, rather than mixing this data with the tables generated by Jackalope Doctrine Dbal

Why?

Does this mean that if I'm using Doctrine to manage my entities I have to use a separate database to manage PHPCR?

1

There are 1 best solutions below

0
jolly blume On BEST ANSWER

I believe this is a best practice, not a requirement.

From a systems view of an application, this practice improves system availability and from an application view it improves a separation of concerns.