Hey Matthew,

The Zend Framework Autoloader appears to support namespaces for the
most part.  I'm using them just fine in my projects.  The only
exception I've discovered so far is bootstrap resources, which must
follow the old PEAR style "namespacing" (vendor prefixing).  The
documentation claims that it works as of ZF 1.10 as well:

http://framework.zend.com/manual/en/zend.loader.autoloader.html



On Mon, Apr 18, 2011 at 10:09 AM, Matthew Weier O'Phinney
<[email protected]> wrote:
> -- tridem-zend <[email protected]> wrote
> (on Monday, 18 April 2011, 04:07 AM -0700):
>> You were right, removing the loaders made it less confusing.
>> I finally managed to extend my abstract class. I accidentally used
>> namespaces there too though ZF does not support them.
>
> Correction: ZF 1.X simply doesn't *use* namespaces. However, you can
> still use them within code using ZF 1.X. You'll need to provide your own
> autoloaders for handling namespaced code, however (you can grab the
> StandardAutoloader from ZF2 if you want to handle both namespaces and
> ZF1's vendor prefix style).
>
>> I will now copy my business logic from my earlier models to the
>> entities and then rename 'Entities' to 'Application_Model'. If I am
>> lucky my application should continue to work smoothly and hopefully
>> faster!
>
> --
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
> PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>



-- 
A.J. Brown
Software Engineering Fanatic
blog : http://ajbrown.org
talk  : (937) 540-0099
chat : IntypicaAJ
tweet: @adrianjbrown

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to