Archive for the ‘OOP’ Category
Monday, August 8th, 2011
I had a bit of confusion trying to debug a relatively complex set of classes that …
Posted in Open Source, PHP Syntax, PHP, practical webmaster tips, OOP, Proceed2OOP, design patterns, bug tracking, unit testing, Domain Driven Design, design pattern, PoEAA, Data Mapper Pattern, Gotcha | No Comments »
Sunday, November 7th, 2010
Lets say you have two Zend Framework Plugins in a ZF MVC application.
How do you …
Posted in PHP, Zend Framework, OOP, MVC | No Comments »
Friday, September 3rd, 2010
In Object-Oriented PHP5 a class’s properties can have their ‘visibility‘ set.
If a property is undeclared …
Posted in PHP Syntax, PHP, OOP, Proceed2OOP | No Comments »
Friday, September 3rd, 2010
Whenever I create a PHP class method that I intend to use statically, I declare it as …
Posted in PHP scripts, PHP Syntax, PHP, practical webmaster tips, OOP, Proceed2OOP, Gotcha | No Comments »
Friday, August 27th, 2010
Zend Config INI and Zend Config XML are handy adaptors that allow you …
Posted in Open Source, PHP scripts, PHP Syntax, PHP, practical webmaster tips, Zend Framework, OOP, Proceed2OOP, unit testing, tutorials, how to / guides, LAMP | No Comments »
Tuesday, May 18th, 2010
Over the years, I have often been faced with the choice of whether to refactor or rewrite.
In …
Posted in Open Source, PHP, practical webmaster tips, Zend Framework, OOP, Proceed2OOP, MVC, refactoring | 5 Comments »
Tuesday, February 9th, 2010
Here’s a snippet of a Java code example in Fowler’s esteemed book, Patterns of Enterprise Application Architecture …
Posted in PHP Syntax, PHP, practical webmaster tips, OOP, design patterns, Domain Driven Design, design pattern, PoEAA, Data Mapper Pattern | No Comments »
Saturday, January 16th, 2010
I keep forgetting how to assert that an Exception is going to be thrown in Simpletest version …
Posted in PHP scripts, PHP, practical webmaster tips, OOP, simpletest | 2 Comments »
Monday, January 11th, 2010
If you write a custom __sleep() magic method for a PHP class, you are expected …
Posted in PHP, practical webmaster tips, OOP, Proceed2OOP | No Comments »