Over the last few days I have been studying OO Design Patterns as applied to PHP. Since PHP5 supports OO programming, I aim to learn how to get the most out of it.
For those who don't know, Design Patterns are basically solutions to common problems in OO programming. These solutions are special in that they maximise re-usability, de-coupling and lots of other OO type stuff that is good!
While reading around, I found a crazy example of how Design Patterns can be a little overkill...
http://www.phppatterns.com/doku.php/design/hello_world_in_patterns
I would pay good money to see a lecturer start Lesson 1 of OO programming with that particular Hello World example
"Now for a simple example of OO programming..."
*slide shows with 160 lines of code*
class:
For those who don't know, Design Patterns are basically solutions to common problems in OO programming. These solutions are special in that they maximise re-usability, de-coupling and lots of other OO type stuff that is good!

While reading around, I found a crazy example of how Design Patterns can be a little overkill...
http://www.phppatterns.com/doku.php/design/hello_world_in_patterns
I would pay good money to see a lecturer start Lesson 1 of OO programming with that particular Hello World example

"Now for a simple example of OO programming..."
*slide shows with 160 lines of code*
class:
