News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anna Filina's Blog:
Doctrine Translation in leftJoin()
April 26, 2010 @ 11:39:33

In a recent post to his blog Anna Filina looks at internationalization in Doctrine and how Symfony auto-builds things to take care of it for you.

If you use Doctrine, then you probably know how lazy loading can hurt your performance. I carefully craft every query to everything that I need in one shot, but only what I need. One thing that evaded me at first was the i18n part. I am pleased with the way Doctrine + symfony magically creates all my models and database tables with i18n support.

She talks a bit about the internationalization (i18n) support is put into the schema.yml file and the bit of confusion she had over how to handle a left join using its structure. The key lies in the Translation relationships.

0 comments voice your opinion now!
doctrine translation left join i18n internationalization


blog comments powered by Disqus

Similar Posts

Symfony Blog: Symfony and Doctrine 2

GotoTech.com: Developer Diary: Taming Doctrine’s 2000 Flushes

Matthias Noback: Inject a repository instead of an entity manager

Juozas Kaziukenas' Blog: Zend Framework and Doctrine. Part 1

Jigal Sanders' Blog: A first look at Doctrine 2.1


Community Events





Don't see your event here?
Let us know!


release refactor community symfony2 series threedevsandamaybe podcast list code testing opinion interview install language introduction framework unittest laravel developer api

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework