bismark2005;10984735 wrote:Hi, I'm an Italian guy and I write with a translator. I apologize for any errors.
I bought this book PHP6 Apache Mysql and I wanted to ask some questions:
1) Why we talk about PHP 6?
When that book was being written, it was thought that PHP 6 would be released soon -- like maybe two years ago now. Instead some of the planned functionality was put into the major 5.3 update, and version 6 is still in development. (I do not know if there is any solid projection now for when it might be released.)
2) Why the manual is based on a procedural?
Unfortunately, since PHP was originally only procedural and decent object-oriented support only appeared in PHP 4 (and much better support in PHP 5), most authors still teach PHP as a procedural language first, and then try to confuse you later by teaching the object-oriented aspects later, as a sort of "advanced" feature. 😉 I for one would like to see a beginner's PHP book that taught OOP style PHP from the outset, instead of as an additional feature to be learned later. However, I think a lot of people who use PHP are not trained/skilled programmers, and the feeling is that such users are not interested in spending the time to understand the general concepts of OOP, and as such just want the plain old procedural code, so that they can get their single-file, one-page scripts up and running as soon as possible.
If you would like a good OOP book, but not one for a beginner, I would suggest PHP 5 Objects, Patterns, and Practice by Matt Zandstra.