Framework Yii bisa menggunakan dua atau lebih database dalam platform yang berbeda-beda. Berikut ini saya kutip dari web resmi Yii, mengenai cara penggunaan multiple database dalam Yii.
Silakan menyimak…
The customary configuration of a Yii application includes just a single database section in the protected/config/main.php
file, but it’s easy to extend this to support more than one, tying each Model to one of the databases.
We’ll extend the standard blog example to tie into a separate Advertising database: though it’s related to the blog, it’s still an independent system. Baca lebih lanjut