News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mario Peshev:
Over-Abstractionism
October 19, 2012 @ 11:34:08

Mario Peshev has a new post with a reminder to all of those developing OOP-based software out there (not just PHP devs, really) - don't fall into the "over-abstractionism" trap.

There is a small number of developers who come from the higher language world (like Java or .NET) used to all design patterns for facades, decorators, bridges, abstract factories, DAO/DTO and so on, implementing them in PHP projects. It's usually cool and leads to a better control over the projects once you spend enough time browsing across the different 'incoming' external parameters taking action within the calls. I'm usually 'for' that, as most of the projects lack any kind of maintainability. However...don't overuse abstraction.

He lists a few different situations where he's seen this over-abstraction happening like in front-end controllers, single "handle it all" methods, using third-party scripts and poorly implemented abstraction layers.

0 comments voice your opinion now!
overabstraction oop overengineer opinion


blog comments powered by Disqus

Similar Posts

Vexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard of

Nikita Popov's Blog: What PHP 5.5 might look like

Zend: Zend Reveals What Music Will Keep Developers Productive (and Happy) This Holiday

Reign's SourceRally Blog: The PHP coder's top 10 mistakes and problems

CodeBetter.com: Is PHP the new VB6?


Community Events





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


artisanfiles tool opinion security podcast framework library symfony introduction version voicesoftheelephpant conference laravel list language interview series composer release community

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