RE: [fw-general] Base view in modular design

2007-09-21 Thread Michael Raymond
> > > > What is the best way to achieve this? > > In your bootstrap or an early-running plugin (routeStartup(), > routeShutdown(), dispatchLoopStartup()), either create your > own view object and feed it into the ViewRenderer, or pull > the view object from the ViewRenderer and set a base pa

Re: [fw-general] Base view in modular design

2007-09-20 Thread Matthew Weier O'Phinney
-- Michael Raymond <[EMAIL PROTECTED]> wrote (on Thursday, 20 September 2007, 12:44 PM +0700): > In developing app which using the conventional modules design > > Application/ > configs/ > modules/ > default/ > controllers/ > views/ > blog/ > controllers/ > view

Re: [fw-general] Base view in modular design

2007-09-20 Thread 张增普
Can your modules run natural? I mean can you share your index.php . Carl 2007/9/20, Michael Raymond <[EMAIL PROTECTED]>: > > In developing app which using the conventional modules design > > Application/ > configs/ > modules/ > default/ > controllers/ > views/ > blog/ >

Re: [fw-general] Base view in modular design

2007-09-20 Thread Pádraic Brady
Hi Michael, Your best bet is to read up on the ViewRenderer (Zend_Controller_Action_Helper_ViewRenderer) which controls a lot of the View location/format conventions. Combine this, with Zend_View's ability to register scriptPaths and it should be sufficient to get the directory layout you need