For a long time PHP did not have classes and objects. But since object oriented programming has proven to support building larger code projects with less bugs and lower development time because of the enforced modularization, encapsulation of code and data together and the reduction of the connections between different modules, php has add a rich object oriented language constructs in the recent versions.
The section in the text book on object oriented programming is out of date and gives you some code that is considered a bad practice.
I will not concentrate on the object oriented aspects of PHP in this course, but all you you should go though the complete tutorial or videos at:
PHP Object Oriented Tutrial for beginners at KillerPHP.com
I know that this will take some time, but all the new modern PHP libraries coming into use are using OOP. So even if you do design your own classes, you will need to know how to used classes to create objects and call their methods.
Also please review this very good and current article on PHP object Oriented Programming: Getting started with objects with PHP V5
I will ask some questions on this material on the quiz for this topic.
The section in the text book on object oriented programming is out of date and gives you some code that is considered a bad practice.
I will not concentrate on the object oriented aspects of PHP in this course, but all you you should go though the complete tutorial or videos at:
PHP Object Oriented Tutrial for beginners at KillerPHP.com
I know that this will take some time, but all the new modern PHP libraries coming into use are using OOP. So even if you do design your own classes, you will need to know how to used classes to create objects and call their methods.
Also please review this very good and current article on PHP object Oriented Programming: Getting started with objects with PHP V5
I will ask some questions on this material on the quiz for this topic.
Last modified: Monday, October 11, 2010, 1:21 AM