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

Jeremy Cook's Blog: Making PHPUnit, Doctrine & MySQL Play Nicely

SitePoint PHP Blog: Using Traits in Doctrine Entities

Patrick Reilly's Blog: Join the PHP Evangelism Team - Mailing List

Zend Developer Zone: Zend Framework News 2006/11/29

Symfony Blog: Doctrine gains symfony citizenship in 1.2


Community Events

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


language framework community voicesoftheelephpant release api opinion symfony2 laravel configure introduction podcast performance library interview series example conference application php7

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