Jan 18, 2011
Symfony and doctrine compiled version
In a new symfony project i have tested the doctrine compiled version. since 1.3.7 symfony support this.
http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7
I have learned two things
first when you compile doctrine use the –driver option. with mysql you can save ~15% file size.
Second use Doctrine_Core not Doctrine. The class Doctrine is deprecated and not in the compiled file. So you get a fatal error.
To fix the class name automatically see:
Change from Doctrine to Doctrine_Core with one command
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.











Recent Comments