-- ronnystalker <[email protected]> wrote
(on Wednesday, 08 July 2009, 02:52 PM -0700):
> I'm reading through Zend application docs :
> 
> http://framework.zend.com/manual/en/zend.application.theory-of-operation.html#zend.application.theory-of-operation.resources
> 
> I'm a bit confused.
> 
> Under section "4.3.2. Resource Plugins"
> 
> It says:
> "Resources need only implement Zend_Application_Resource_Resource, or, more
> simply still, extend Zend_Application_Resource_ResourceAbstract. "
> 
> 
> Under section "4.4. Examples"
> 
> it says:
> "Resource plugins implement Zend_Application_Bootstrap_Resource, which
> defines simply that they allow injection of the caller and options, and that
> they have an init() method. "
> 
>  * Are these talking about two different things?

No -- the latter should refer to Zend_Application_Resource_Resource.

> I.e. 'Resources' versus 'Resource plugins' - i suspect not, but need
> clarifying.
> 
>  * If they are the same thing. Which interfaces do they really need to
> implement?
> i.e.
>  * "Resource plugins implement Zend_Application_Bootstrap_Resource"

As noted -- the one above does not exist. Use the one below.

>  * "Resources need only implement Zend_Application_Resource_Resource"
> 
> or is it both?
> 
>  * Is that a typo in the docs?

yes.

> I can't seem to find the "Zend_Application_Bootstrap_Resource" class in my
> Zend library?
> 
> I hope it is a typo, cos i thought i had a grasp of Zend application till i
> sumbled accross what seems to be a contradiction.
> 
> Any help appreciated.

If you could, please file an issue in the tracker regarding this; the
typo should be corrected.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to