Hi

Historically our applications have always had a 'frontend' (domain.org), and
a 'backend' (domain.org/admin). Our clients are familiar to this
methodology, so we must stick to it. The problem I'm having is how do set up
a single bootstrap file to deal with both cases?

I want to achieve this:

www.domain.org/<module>/<controller>/<action>
and this 
www.domain.org/admin/<module>/<controller>/<action>

And I want to structure my controllers like this:

application/
                blog/
                        controllers/
                                        frontend/
                                                        IndexController.php
                                                        .
                                        backend/
                                                        IndexController.php
                                                        EditController.php
.
                News/
                        controllers/
                                        frontend/
                                                        .
                                        backend/
                                                        .
                        .

So www.domain.org/blog/index/index/ would point to
application/blog/controllers/frontend/IndexController.php and
www.domain.org/admin/blog/index/index/ would point to
application/blog/controllers/backend/IndexController.php.

Therefore I guess my first question is; is this possible using the Zend
Framework? And if so, could anyone point me In the right direction with the
bootstrap file?

Regards,
Jon

Reply via email to