Matthias Noback has shared a few things he doesn't like about Symfony bundles, the drop-in components that easy extend Symfony-based applications.
This article could have been titled “Ten things I hate about bundles”, but that would be too harsh. The things I am going to describe, are not things I hate, but things I don’t like. Besides, when I count them, I don’t come to ten things...
Instead of ten, there's five things on his list of "hates" about bundles and their handling:
- Bundle extension discovery
- Naming conventions
- Registering service container extensions yourself
- Naming conventions, part two
- Duplicate knowledge: the extension alias
For each section there's an explanation and sample code where needed to illustrate the point.