[Solar-svn] page controller organization
Rodrigo Moraes
rodrigo.moraes at gmail.com
Sat Jan 26 17:30:15 CST 2008
Hello, Leo.
Yes, this is possible, and we have some generic solutions for this.
You'd need to define a custom front controller, as Solar by default
doesn't supoort "modules". But it is not difficult.
Please forward your message to the right list: solar-talk (this one,
solar-svn, is for Subversion notifications only :), so others can
help. You can subscribe here:
http://mailman-mail3.webfaction.com/listinfo/solar-talk
regards,
rodrigo moraes
On Jan 26, 2008 6:23 PM, Leo Chiao <leo.chiao at gmail.com> wrote:
> Hello all,
>
> First time posting to this list and had a basic question about Solar's
> directory structure. I've recently built a simple site using Zend Framework
> and they have a notion of "modules" where related controllers are grouped
> together. Is there support for this type of directory structure built-in to
> Solar?
>
> I couldn't find any mention of it in the docs. The use case would be a
> scenario where you are building a site with a front-end url
> domain.com/controller/action and an admin url with
> domain.com/admin/controller/action With Zend, there is a "default" module
> which would work for the front-end and you would then create an "admin"
> module so you could have two controllers with the same name, but segregated
> into their own directory.
>
> As far as I can tell, the page controllers are just expected to be right
> underneath the App directory of your Vendor directory and there is no module
> organization so to speak. Is there a recommended way of organizing the
> directory structure for what I am describing?
> _______________________________________________
> Solar-svn mailing list
> Solar-svn at lists.solarphp.com
> http://mailman-mail3.webfaction.com/listinfo/solar-svn
More information about the Solar-svn
mailing list