[TYPO3-core] RFC: #14628: Open t3lib_db for own instance

Xavier Perseguers typo3 at perseguers.ch
Sat Jun 5 23:21:17 CEST 2010


Hi,

Jigal van Hemert wrote:
> Steffen Kamper wrote:
>> This allows to make own instances in extension when connection to
>> another DB is needed, so you can use the API as usual, and also DBAL
>> support.
>
> But DBAL can be used to connect to another DB (also another MySQL db)?
> Page 6 of the manual provides an example for defining an alternative
> connection for a few tables.

Yes.

> I think that the DBAL solution also provides support for using this
> extra connection in TS, etc.

Exactly. This is completely transparent. You don't have to think of 
which connection to use.

> Can you give us a use case and an example for how to use this
> alternative method?

Yes please.

Xavier


More information about the TYPO3-team-core mailing list