Linked by John Collins on Wed 21st Apr 2004 06:42 UTC
The purpose of this article is to give a novice programmer the basic idea of what OOP is, as implemented using PHP. Readers should have a basic knowledge of programming ie what variables are, variable types, basic methods of writing comments, and how to enter code into a text editor.
Permalink for comment
To read all comments associated with this story, please click here.
I concur whole-heartedly, that another language could have been used. I think for the purposes of introducing OOP to a beginner however, PHP's basic OOP implementations are more than sufficient. PHP's OOP model is loosely based off of Java (I think, certainly looks that way).
I've read countless articles saying "You should learn in <insert language>." To reiterate, the spirit of the article is to teach basic concepts, not to teach a language. In that regard at least, the author did a decent job, I think.
I concur whole-heartedly, that another language could have been used. I think for the purposes of introducing OOP to a beginner however, PHP's basic OOP implementations are more than sufficient. PHP's OOP model is loosely based off of Java (I think, certainly looks that way).
I've read countless articles saying "You should learn in <insert language>." To reiterate, the spirit of the article is to teach basic concepts, not to teach a language. In that regard at least, the author did a decent job, I think.