Hi, can anybody help me how to nice integrate doctrine 2.0 into ZF 1.10? I found some application resources, but there was no complete solution. Many thanks
A:
You're going to find it very difficult (I was going to say no chance, but that's me being a pessimist) - ZF 1.10 is dependent on PHP 5.2, Doctrine 2.0 is written from the ground up for PHP 5.3.
You'd be better off either using Doctrine 1.2, which is working fine with ZF 1.10, or waiting for the upcoming ZF 2.0 release (which may be some time yet).
Stephen Orr
2010-03-11 14:31:50
Zend Framework works on both PHP 5.2 and PHP 5.3. Source code does not use namespaces and other PHP 5.3 features, but you may use them in your projects with ZF (e.g. ZF's autoloader should work fine with namespaces).
takeshin
2010-03-11 15:58:33
That might be true, but the original poster did not state that he was using PHP 5.3, and my understanding was thus that he was using PHP 5.2 and attempting to integrate something that would just never work. Can't help thinking the downvotes are a bit harsh in that respect.
Stephen Orr
2010-03-11 16:38:25
Aren't we this kind who do read manuals, requirements first? Aren't we? Then who does when we do not?!
takeshin
2010-03-11 17:06:23
Fair point - I should really have asked for clarification of the user's setup before jumping off the deep end. I've upvoted your response anyway.
Stephen Orr
2010-03-12 07:22:58
+3
A:
You may try to setup it like described in this blog post about ZF & Doctrine 2.
Hope this suits your needs.
takeshin
2010-03-11 15:55:16