News Feed
Sections




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

PHPMaster.com:
Practical Code Refactoring, Part 3 - Extensibility
October 25, 2012 @ 09:22:05

PHPMaster.com has posted the third part in their "Practical Code Refactoring" series - this time with a focus on Extensibility. (Part 1, Part 2).

Extensible code is a piece of code which follows re-usable, logical, well-known patterns, be it standard design patterns, or normal logical flow. Modular code tends to be highly extensible and monolithic code tends to be non-extensible, but monolithic code might be more efficient, so to solve this conundrum some practices allow developing in a modular way and deploying in a monolithic way so we can get the best of both worlds. The major aspects which we are to discuss with regard to extensible code are: logical extensibility (normal logical flow and design patterns), modular design, and decoupling and encapsulation.

He goes through each of the sections - logical extensibility, modular design and decoupling/encapsulation - and for each provides some questions to ask to help you whip your code into shape.

0 comments voice your opinion now!
code refactor extensibility series decoupling encapsulation modular


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Abstract Podcast Episode 37: Zend Framework 1.5

Anthony Ferrara: Programming With Anthony - Prepared Statements

SitePoint PHP Blog: PHP Extension Development with PHP-CPP: Object Oriented Code

PHPClasses.org: Using DaDaBIK to create a PHP CRUD Database Front-End without coding

Erika Heidi: A beginners guide to Vagrant and Puppet, part 3 - facts, conditionals and modules


Community Events





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


tips community bugfix conference series list interview introduction threedevsandamaybe language api symfony zendserver podcast deployment laravel framework code voicesoftheelephpant release

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