View Full Version : Practical OO Tut
03-11-2009, 04:10 AM
I'm looking for some well-written, practical object oriented php tutorials, either books or online. I've found a lot of tuts that don't go very in-depth and simply end once you learn the basics. I'd like to find some that have very practical examples, login scripts, blogs, etc. I'm wary of finding random examples online that are probably badly coded (some of the nettuts oo php tuts come to mind) and would rather learn from a respectable source. Thanks for any suggestions!
03-11-2009, 07:45 AM
I'll see if I can dig some up for you. Do you require them in PHP or would another language suffice (so long as they are generic enough)?
Part of the problem with PHP is that its OO capabilities are quite new (lessee... 2 1/2 years or so if I remember correctly... wait has it really been that long?). On top of it being an OO infant, there is considerable differences between PHP5.0 and PHP5.2 for example. These vary from bug fixes to additional features (PHP 5.3 for example is adding in the late static binding).
For all of these reasons, well done tutorials are quite difficult to find specifically for PHP. Even some of the code I've posted here is old old now. My collections was designed soley to get some first hand experience with the new interfaces in PHP 5.1. I would assume a whole pile of online tutorials would be in the same boat - good for its time, deprecated now, only a few months later.
03-11-2009, 08:15 AM
I assume another language would suffice but php would be preferable.
I was unaware that so much has changed in recent php updates.
I was able to find two books so far. One entitled Object Oriented PHP: Concepts Techniques and Code and the other is called PHP Object Oriented Solutions. I'm starting with the latter one because it is more recent (2008) and covers 5.2 (possibly 5.3).
If anyone has read these books, please let me know if they're worth it. And, any other suggestions on what might be a better resource would be greatly appreciated.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.