2009年7月3日星期五

Re: [fw-mvc] Question on modules settings

Hi Cristian,

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


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

Wkr
Jeroen Keppens

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

没有评论: