Re: [fw-general] confusion between resource plugins and resources in docs
Thanks for the speedy reply Matthew. I have submitted the issue tracker ticket: See: http://framework.zend.com/issues/browse/ZF-7416 - (P.S The level of dedication you have put into this project is inspiring). - Matthew Weier O'Phinney-3 wrote: > > -- ronnystalker 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| matt...@zend.com > Zend Framework | http://framework.zend.com/ > > -- View this message in context: http://www.nabble.com/confusion-between-resource-plugins-and-resources-in-docs-tp24400044p24731301.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] confusion between resource plugins and resources in docs
Matthew Weier O'Phinney-3 wrote: > > > If you could, please file an issue in the tracker regarding this; the > typo should be corrected. > > -- > Matthew Weier O'Phinney > Thanks Matthew for the quick response. I tried to submit it to the bug tracker but was getting an error on the "forgotten password page": http://framework.zend.com/crowd/console/forgottenpassword!input.action Error Message: "Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault: java.lang.NullPointerException" I will try again tomorrow, tho. -- View this message in context: http://www.nabble.com/confusion-between-resource-plugins-and-resources-in-docs-tp24400044p24454481.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] confusion between resource plugins and resources in docs
-- ronnystalker 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| matt...@zend.com Zend Framework | http://framework.zend.com/
[fw-general] confusion between resource plugins and resources in docs
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? 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" * "Resources need only implement Zend_Application_Resource_Resource" or is it both? * Is that a typo in the docs? 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. -- View this message in context: http://www.nabble.com/confusion-between-resource-plugins-and-resources-in-docs-tp24400044p24400044.html Sent from the Zend Framework mailing list archive at Nabble.com.