Use singleton for database connection

2010-03-31 Thread dyutiman
Hi, I need to run multiple processes of my application, built in Cakephp. And for that I need it to use singleton for its database class. Is there any way I can achieve that here... Have anybody thought about this.. thanks Dyutiman Check out the new CakePHP Questions site http://cakeqs.org and

Re: Use singleton for database connection

2010-03-31 Thread Christian Leskowsky
Could you give us more background? On Wed, Mar 31, 2010 at 4:06 PM, dyutiman dyutiman.chaudh...@gmail.comwrote: Hi, I need to run multiple processes of my application, built in Cakephp. And for that I need it to use singleton for its database class. Is there any way I can achieve that