327
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected almost 3 years ago.
Posted over 12 years ago by Tobias Sjösten
Posted over 12 years ago by Kévin Dunglas
Posted over 12 years ago by Andréia Bohner
Posted over 12 years ago by Tobias Sjösten
While porting an ooold MUD community site of mine to Symfony, I wanted to (admittedly prematurely) optimize its database queries. Here is how I made Doctrine comply. One view on the new site iterates over a bunch of Log entities and prints their ... [More] title fields. These entities also have a body field, which can be HUGE. Since the body is not used on this particular view it means a lot of overhead fetching all that data. Selecting fields This could be solved by SELECTing just the fields you want. [...] [Less]
Posted over 12 years ago by Matt Daum
Recently I was working on a project where I kept finding myself ordering a relation over and over by other than something than ID order (ie id= 1,2,3,4,5). For example, I always wanted my relation to be ordered by the ‘name’ field, rather than the ID or order it was inserted into the DB. Let’s… Continue reading →
Posted over 12 years ago by Tristan BESSOUSSA
Posted over 12 years ago by
Posted over 12 years ago by Ashish Datta
Earlier this week, a buddy of mine reached out looking for interesting Symfony2 resources that went beyond the “basic” tutorial type content. He was looking to really get into the “nitty gritty” of the framework, how larger projects are using it, and ... [More] hopefully understand some of the philosophy behind service oriented architectures, dependency injection, and… Continue reading → [Less]
Posted over 12 years ago by hpatoio
OnetoMany/ManyToOne relations in Doctrine might result difficult to understand. Here a short recap with some easy "rules" to avoid the common mistakes. Continue reading →
Posted over 12 years ago by Tristan BESSOUSSA
This is a small feedback regarding the new Symfony 2.2 feature which makes the subdomains handling easier. By the way you can see the official documentation about routing & subdomains here. Scenario: With the support of subdomains in the Symfony ... [More] 2.2 routing component, you’re all excited and decide to take advantage of that feature. Problem 1: Once you’ve opened one or … Continue reading → [Less]