Matthew Weier O'Phinney-3 wrote:
>
> Does Contribute simply publish individual page files? If so, I'd suggest
> using the ZF MVC, and setting up ErrorController::errorAction() to check
> the PATH_INFO ($this->getRequest()->getPathInfo()) to see if the
> document exists in the system, and, if so, serve it up. This gets you
> the benefit of being able to use Zend_Layout to inject the content into
> a full page, as well as the ability to develop separate controllers and
> routes via ZF.
>
Interesting idea. Yes, contribute is basically a WYSIWYG editor. One problem
I foresee is contribute finding the page to edit. In short, Contribute acts
like a browser so the user "clicks" to the page they want to edit. Then they
click the "Edit" button and Contribute locates the page on the server. I'm
assuming that it does this by using the relative URI and matching it up to
the server. So, I'm not sure it could work with a MVC URL. I'll do some
research. Any ideas on that? Thanks
--
View this message in context:
http://www.nabble.com/Using-ZF-in-Non-MVC-Setup-tp18263528p18266979.html
Sent from the Zend Framework mailing list archive at Nabble.com.