-- Panman <[EMAIL PROTECTED]> wrote
(on Thursday, 03 July 2008, 12:45 PM -0700):
> 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

Is it using WebDAV to do the publishing? If so, my idea is a no-go. If
not, then the fact that it doesn't match up to an MVC URL is okay -- the
'fallback' will find the page and deliver it when it cannot match a
controller/action pair.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to