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

Rob Allen's Blog: Russian and Polish Zend Framework Tutorial

SitePoint PHP Blog: Using Traits in Doctrine Entities

David Adams: Is ORM abstraction a pipe dream?

Zend Developer Zone: Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 1)

DZone.com: The era of Object-Document Mapping


Community Events





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


configure interview introduction opinion release conference composer series list symfony laravel community podcast tool api framework voicesoftheelephpant version language unittest

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