Object Oriented PHP Tutorial Updated
Hi,
I’ve update my beginners tutorial on object oriented PHP adding steps 12-17. I cover two new basic OO concepts in these steps:
- Constructors.
- Access modifiers.
Again, this is a code intensive article where I expect you to follow along with your PHP editors.
More to come.
Thanks,
Stefan Mischook
www.killerphp.com
Pingback: PHPDeveloper.org
Pingback: developercast.com » Stefan Mischook’s Blog: Object Oriented PHP Tutorial Updated
I think your next guide should make it clear why classes are so important in programming. Many programmers just stick their functions inside classes and think they’ve done a good job. So wrong. Each class should REALLY only have one responsibility, if the class has no responsibility what-so-ever, then it shouldn’t be a class. Of course there are one or two exceptions to that rule with PHP not support namespaces – I wonder if it ever will!