[Flow] best way to adapt a third database?

Christian Müller christian.mueller at typo3.org
Tue May 27 13:12:23 CEST 2014


Hi all,

Sasky, Patrick wrote:
> ... not yet. Thats the question.
> And "third" is only as catchword. I think its a german "slang"... So,
> I'm sorry for confusing.

What exactly is the german translation to that? I don't get it ;)

> I need to adapt a _second_ database. :-)
>
> Can you tell me please.. how can I answer directly your posting? I
> didn't get emails from this mailing list and have to write a new mail
> every time. The reason is a new topic each time.

So generally if you need multi database access you have to connect on 
your own. You can create a new doctrine instance directly (without any 
Flow help in this case) or do direct DB connects. Whatever suits your 
needs. If you want the API to stay similar you would still create a 
repository but just not extend from the normal Repository but implement 
the interface yourself. That way you can use the Repository like any 
other but have it work on another database. You just have to be extra 
careful with relations. As Flow cannot help you with that.

Cheers,
Christian

-- 
Christian Müller
Flow / Neos Team Community Contact

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org




More information about the Flow mailing list