Thanks everyone, I think since there are so many people wondering about it,
A blog post/tutorial will be a good idea *hint Matthew hint* i will take a
look at those once i am at the office tomorrow.

Vince.

On Wed, May 6, 2009 at 5:33 PM, Jurian Sluiman
<subscr...@juriansluiman.nl>wrote:

> I think (but am not sure about it) you can add view helper paths in the
> module bootstrap. You need to specify them for each module, that's correct.
> But it's not much work to have an init method in each bootstrap class adding
> a path to the view (only some duplicated code...).
>
>
> --
> Jurian Sluiman
> Soflomo.com
>
>
> Op Wednesday 06 May 2009 16:27:31 schreef Karl:
>
> > Hi,
> >
> > I've been trying to configure the same setup as mentioned and was having
> > issues trying to get my view helpers registered in the modules. You will
> > have to register your view helper paths in each modules bootstrap file.
> >
> > regards,
> > Karl
> >
> > _____
> >
> > From: Jurian Sluiman [mailto:subscr...@juriansluiman.nl]
> > Sent: 06 May 2009 04:03 PM
> > To: fw-general@lists.zend.com
> > Subject: Re: [fw-general] Bootstrapping modules
> >
> > Op Wednesday 06 May 2009 14:57:00 schreef Vadim Gabriel:
> > > Hey,
> > >
> > > Are there any tutorials/guides out there that show examples on ways to
> > > bootstrap an application using more then one module? I mean if i have a
> > > directory structure like this:
> > >
> > > -library
> > > ---Zend
> > > -public
> > > ---admin
> > > -----default
> > > -----other
> > > ---site
> > > -----default
> > > -----other
> > > ---index.php
> > > -application
> > > ---configs
> > > -----application.ini
> > > ---modules
> > > -----admin
> > > -------controllers
> > > -------layouts
> > > ---------scripts
> > > -----------default
> > > -----------other
> > > -------views
> > > ---------scripts
> > > -----------default
> > > -----------other
> > > ---------helpers
> > > -----site
> > > -------controllers
> > > -------layouts
> > > ---------scripts
> > > -----------default
> > > -----------other
> > > -------views
> > > ---------scripts
> > > -----------default
> > > -----------other
> > > ---------helpers
> > >
> > > Basically i am looking for creating a modeler structure application
> using
> > > ZF 1.8, Is there anything blogged about it?
> > >
> > > Thanks.
> >
> > Hi Vadim,
> > I have looked into this problem as well. It isn't mentioned in the
> manual,
> > but it's very simple. You should add a Bootstrap.php in each module root
> > containing the class {ModuleName}_Bootstrap, e.g. Admin_Bootstrap, and
> > extending it from Zend_Application_Module_Bootstrap.
> > Now make sure you initialise the modules resource in the global bootstrap
> > class by adding this to your application.ini (if you pass a Zend_Config
> > object when creating the Zend_Application instance):
> > resources.modules[] =
> >
> >
> >
> >
> >
> > Now you should have a proper modular design with autoloading the modules
> > using the conventional structure.
> >
> >
> >
> >
> >
> > Regards, Jurian
>



-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to