What May Be Learned From The Symfony Community? (And What Should Stay There)

Symfony 2 is a great thing, and as all great things it has a community of followers who develop, communicate, share, learn and spend time together. This is truly a great things as people can ask questions, get answers, tips and second opinions. Best practices are easily spread, but are all of them really best? And in what exact way are they considered best or even better than something else?

Best practices

What is a Best Practice? If judged by the name it’s a little something all of us should be doing to achieve desired results in our projects. Why? Because the practice is Best! But how can something work well everywhere considering every single project is different? It is considerably impossible, actually. And what if somebody is wrong and simply advices you with a new bug instead of a fix? That person way even be sure his approach works. And the approach may have worked on his project. And his project differs from yours.

I have been going through this ‘Symfony Best Practices’ book by Tyan Weaver, Fabien Potencier and Javier Eguiluz. And there was this phrase at the beginning that attracted lots of attention:

“… community resources – like blog posts or presentations – have created an unofficial set of recommendations for developing Symfony applications. Unfortunately, a lot of these recommendations are in fact wrong. “

I, personally would never go that far in my consumptions, but there is a grain of truth in these words. No, I am not saying it’s wrong to have a community or to share tricks and tips. It’s bad to mindlessly follow them without second thoughts or hesitations.

My point

Symfony Community is not a bad place. It’s a great place indeed and is overfilled with various kinds of useful information. However no developer has the right to treat everything he sees in the internet as the only truth. If you are not smart enough to check the solution you are being offered you are probably doing the wrong job. Sure some solutions will not work for you, but they will help somebody else and certainly deserve the right for existence. That’s how I disagree with “Symfony best Practices’ authors. It’s not the community’s fault you have failed at something, nor is your personal achievement a shared victory.