Greg Beaver wrote:

Avoid base classes like the plague. They only limit future flexibility. Use inheritance like salt - as an enhancement for flavoring, otherwise you might develop high blood pressure ;). Better is to use delegation, factory or singleton as a way to access needed features, because then you can easily plug in new base functionality.

Is it standard OO practice or PHP specific ? (lack of multiple inheritance for instance (pun intended somewhat))


Thanks

Philippe (new to this group)


Greg


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to