2008年9月25日星期四

Re: [fw-mvc] Hostname Routing + Zend_Config_Ini Implementation Syntax

-- j5 <young.kevin@gmail.com> wrote
(on Thursday, 25 September 2008, 08:50 AM -0700):
> I am looking for some code snippets and examples of how to implement the new
> Hostname Routing feature using Zend_Config_Ini configuration files.

Currently, you can't. Martel and Ben are working on a solution for an
upcoming release.


> I am currently building an application with several modules each with their
> own routing config.
>
> What I would like to do is setup static/regex hostname routing that sets the
> proper module name in the Request Object and then use a Routeshutdown plugin
> to further setup the selected modules configuration.
>
> I tried doing searching through the forums and on the web for examples. but
> all the hostname routing examples are based on array configuration.
>
>
> I am having a lot of trouble figuring out proper INI syntax to setup the
> routing..
>
>
> Any examples or links would be much appreciated.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: