2009年10月26日星期一

Re: [fw-mvc] Seperate Public Directories Using Same Model & Config

dmitrybelyakov wrote:
>
> Hi,
>
> I think its absolutely fine in that case to place your models in a
> separate folder, like your 'library' for example. If you then put it on
> your include path you can easily autoload these models from anywhere in
> your application.
>
> And by the way - what do you mean by 'two public directories' since you
> can have only one public webroot?
>
> Good luck,
> Dmitry.
>
>

Thanks for the reply. I probably didn't make myself clear enough in the
post. I would actually have two seperate webroots, so effectively two
seperate applications which both need to access the same models.

Thanks

Steve
--
View this message in context: http://www.nabble.com/Seperate-Public-Directories-Using-Same-Model---Config-tp26065263p26066956.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: