Guys i was wondering if any of you can suggest a book or a tutorial that i can use in object oriented PHP

Recommended Answers

All 2 Replies

I assume you already have a relatively solid understanding of PHP's basics. e.g. Functions, Variables, Includes etc.

Great place to start is the manual.
http://php.net/manual/en/language.oop5.php

Once you feel you have a good understanding of how OOP works in general, I find the SPL (Standard PHP Library) to be extremely useful
http://us2.php.net/manual/en/book.spl.php

From there I'd recommend looking at some common design patterns and getting a feel for strengths and weaknesses
http://www.fluffycat.com/PHP-Design-Patterns/
http://www.ibm.com/developerworks/library/os-php-designptrns/
http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/

As far as books, I can recommend these three specifically:
http://www.amazon.com/PHP-Objects-Patterns-Practice-Second/dp/1590599098/ref=sr_1_11?ie=UTF8&s=books&qid=1273758471&sr=1-11
http://www.amazon.com/PHP-Object-Oriented-Solutions-David-Powers/dp/1430210117/ref=pd_sim_b_1
http://www.amazon.com/Pro-PHP-Patterns-Frameworks-Testing/dp/1590598199/ref=pd_sim_b_2

The problem I found with books is they're usually outdated in some respect by the time they are published.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.