Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-27 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff m...@builtfromsource.com wrote (on Thursday, 26 February 2009, 09:55 PM -0800): Ah.  I missed the addition of Zend_Loader_Autoloader to the framework, apparently. It's in the incubator -- not yet in trunk. On Thu, Feb 26, 2009 at 1:49 PM, Matthew Weier O'Phinney

[fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread awkaiser
This message is intended for @weierophinney, but feel free to pitch in if you have a solution. :) This might be an easy one for you guys! The short story is that I'm giving Zend_Loader_Autoloader_Resource (incubator) a spin and have run into some unexpected behavior. It seems to load my classes

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread till
On Thu, Feb 26, 2009 at 9:19 PM, awkaiser august.kai...@beehivemedia.com wrote: This message is intended for @weierophinney, but feel free to pitch in if you have a solution. :) This might be an easy one for you guys! The short story is that I'm giving Zend_Loader_Autoloader_Resource

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Ratzloff
As a side note, I wish there was a way to configure Zend_Loader to iterate over the include path and check is_readable() on them. I know it's much slower, but it would be more convenient during development when you're watching log messages to not always have to filter out the include_once

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread awkaiser
tfk wrote: Maybe I'm violating best practices for ZLAR, who knows. :) Hopefully there is a quick fix! LGTM! :) I bet the module structure throws it off somehow, I don't know what dirname(__FILE__) in your example resolves to, e.g., is your bootstrap in root/app/modules/ or in /root/.

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread keith Pope
I have had a very similar problem reported to me, by someone who was using my storefront example application: http://code.google.com/p/zendframeworkstorefront/ I am using a copy of Matthew's prototype from the pastebin app, but the error seems to be the same, the classes are loading but warnings

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- awkaiser august.kai...@beehivemedia.com wrote (on Thursday, 26 February 2009, 12:19 PM -0800): This message is intended for @weierophinney, but feel free to pitch in if you have a solution. :) This might be an easy one for you guys! The short story is that I'm giving

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- till klimp...@gmail.com wrote (on Thursday, 26 February 2009, 09:52 PM +0100): On Thu, Feb 26, 2009 at 9:19 PM, awkaiser august.kai...@beehivemedia.com wrote: This message is intended for @weierophinney, but feel free to pitch in if you have a solution. :) This might be an easy one

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff m...@builtfromsource.com wrote (on Thursday, 26 February 2009, 01:02 PM -0800): As a side note, I wish there was a way to configure Zend_Loader to iterate over the include path and check is_readable() on them.  I know it's much slower, but it would be more convenient

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- awkaiser august.kai...@beehivemedia.com wrote (on Thursday, 26 February 2009, 01:43 PM -0800): Funny you should mention that. I just tried your Storefront app with ZF 1.7.6 to see if I could learn some new tricks (or better habits!) and got slammed with the same error. If only you could

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread awkaiser
Matt - First off, thanks for your numerous replies to everyone! Second, in case it makes a difference, I'm using ZF 1.7.6 with the addition of the following incubator files: /Zend/Application/Module/Autoloader.php /Zend/Loader/Autoloader.php /Zend/Loader/Autoloader/Interface.php

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread awkaiser
Matthew Weier O'Phinney-3 wrote: Somewhat related and more a question for Matthew, but is the *autoloader* supposed to use include_once? It's using include -- as it should be (look at line 83 of Zend_Loader, as reported above, if you don't believe me; it reads include $file;). I'm

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread till
On Thu, Feb 26, 2009 at 10:48 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- till klimp...@gmail.com wrote (on Thursday, 26 February 2009, 09:52 PM +0100): On Thu, Feb 26, 2009 at 9:19 PM, awkaiser august.kai...@beehivemedia.com wrote: This message is intended for @weierophinney,

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread awkaiser
As it turns out, this issue is present in 1.7.6 but not in the latest trunk. The warnings disappear entirely and I don't even need to use the suppression method. If nothing else breaks in my testing, I'll just stick with this trunk build. Thanks for all your help! - August awkaiser wrote:

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- awkaiser august.kai...@beehivemedia.com wrote (on Thursday, 26 February 2009, 03:24 PM -0800): Matthew Weier O'Phinney-3 wrote: Somewhat related and more a question for Matthew, but is the *autoloader* supposed to use include_once? It's using include -- as it should be (look at

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Weier O'Phinney
-- awkaiser august.kai...@beehivemedia.com wrote (on Thursday, 26 February 2009, 05:53 PM -0800): As it turns out, this issue is present in 1.7.6 but not in the latest trunk. The warnings disappear entirely and I don't even need to use the suppression method. If nothing else breaks in my

Re: [fw-general] Issue: Resource autoloading with Zend_Loader_Autoloader_Resource (incubator)

2009-02-26 Thread Matthew Ratzloff
Ah. I missed the addition of Zend_Loader_Autoloader to the framework, apparently. -Matt On Thu, Feb 26, 2009 at 1:49 PM, Matthew Weier O'Phinney matt...@zend.comwrote: -- Matthew Ratzloff m...@builtfromsource.com wrote (on Thursday, 26 February 2009, 01:02 PM -0800): As a side note, I wish