News Feed
Jobs Feed
Sections




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

PHPImpact Blog:
Zend Framework The Cost of Flexibility is Complexity
February 23, 2009 @ 07:51:51

Sometimes power comes at a price - you get benefits from the added features and functionality, but you can lose something else along the way - the simplicity that brought you in originally. Federico Cargnelutti takes a look at a tool that can do just that - the Zend Framework.

Don't assume that just because you're using an object-oriented framework you are writing reusable and maintainable code. You are just structuring your spaghetti code. [...] The main problem with flexibility is that most developers give up trying to understand. I don't blame them, no one likes dealing with complexity

TO illustrate, he gives two code snippets from two example developers - Developer A makes full use of the framework and takes a more compact approach to the problem while Developer B adds in a bit more checking and takes a different path to the same (basic) end result.

0 comments voice your opinion now!
flexibility complexity cost zendframework example snippet


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Lifting the Skirt on Zend Framework 1.5: Zend_Auth and the OpenId Adapter

Mikko Koppanen's Blog: ImagickPixelIterator is not read-only after all...

Timothy Boronczyk's Blog: Goto and Exceptions

Community News: PHPBenelux BugHuntDay 2010 (Zend Framework & Joind.in)

Stefan Mischook's Blog: Google Wave & Zend Framework Webinar


Community Events











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


component security opinion application performance install package support hack framework unittest symfony2 podcast language facebook hhvm composer release introduction database

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