开发者

Symfony same webservice working on Databases

Here is the issue:

I have some methods in action in a Symfony project that are defined in WSDL. I need a configuration where my ws can work on one of two data bases according to environment. I tried defining different environments and even different applications.But they all insist to use the DB from the database开发者_运维问答s.yml under the config on the level of apps.

I really appreciate any help


In order to select the database connections dynamically you can use the same technique demonstrated in this slide

http://www.slideshare.net/kriswallsmith/symfony-in-the-cloud

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜