Posts Tagged ‘Chankov’

Using more than one database connection in CakePHP

April 10th, 2008

Probably is pretty obvious for most of the advanced users, but when I started my experience with CakePHP I read a lot of configuring a database, but not multiple ones. There are articles how to use database for development and for production without changing anything but rewriting a function in DATABASE_CONFIG class.

These days we need to choose way of splitting the functionality and we have to decide: Shall we use different databases or shall we put a prefix for every table. So far we choose to use prefix, but I dig into this and I realized that every model could be attached to different database.

Here is the example how to do this:
» Read more: Using more than one database connection in CakePHP

First post! (how boring)

May 4th, 2007

Hi,
finnaly, I have my personal blog on internet!
Mostly all articles will be for Web development and related stuff. Hopefully this will help somebody.

SY0-101 professionals are usually done with their 642-901 as well as 642-812 before they appear in 70-431 and/or N10-003.

Let’s see how this will progress!