Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-11-2009, 03:10 AM   PM User | #1
mlmorg
Regular Coder

 
Join Date: Mar 2007
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
mlmorg is an unknown quantity at this point
Practical OO Tut

Hi all,

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!
mlmorg is offline   Reply With Quote
Old 03-11-2009, 06:45 AM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 03-11-2009, 07:15 AM   PM User | #3
mlmorg
Regular Coder

 
Join Date: Mar 2007
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
mlmorg is an unknown quantity at this point
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.

Thanks!
mlmorg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:18 AM.


Advertisement
Log in to turn off these ads.