« Return to Thread: Question on modules settings

Re: Question on modules settings

by Jeroen Keppens :: Rate this Message:

Reply to Author | View in Thread

Hi Cristian,

In one of my blog posts, I've written an application resource to do module specific configs:

http://blog.keppens.biz/2009/06/zend-framework-module-specific-config.html

Might be what you're looking for (you might have to kick some bits out like the acl and stuff)

Wkr
Jeroen Keppens
http://blog.keppens.biz

On 03 Jul 2009, at 09:32, Cristian Bichis wrote:

Hi,

I was wondering what's the status for making the modules actually modular from a settings point of view.

Into documentation i am still seeing:
http://framework.zend.com/manual/en/zend.application.available-resources.html

So configuration of modules is still into application config file.
news.resources.db.adapter = "pdo_mysql"
news.resources.db.params.host = "localhost"
news.resources.db.params.username = "webuser"
news.resources.db.params.password = "XXXXXXX"
news.resources.db.params.dbname = "news"
news.resources.layout.layout = "news"
-- 
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

 « Return to Thread: Question on modules settings