note 76858 added to language.oop5
| From: | keith at karsites dot net | Date: | Thu, 02 Aug 2007 18:56:02 +0000 |
| Subject: | note 76858 added to language.oop5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129129@lists.php.net to get a copy of this message | ||
This is the book that should come with PHP5's OOP support IMHO. The manual only documents the
nitty-gritty of PHP5's OOP syntax. This book will teach you how to use that syntax to code
elegantly in OOP terms. It has helped me get my head around thinking in terms of OOP. The code
examples are fairly simple and in Java and C++. PHP5's OOP syntax is very similar to
Java's. I would highly recommend this book if you are serious about learning to design and code
in PHP5 OOP style.
Title: OOP Demystified
Authors: Jim Keogh & Mario Giannini
Publisher: Osborne/McGraw Hill
ISBN: 0-07-225363-0
Price: $19.95 USA, $28.95 CDN, £12.99 UK
The authors have the ability to explain OOP concepts in a very easy to understand manner. Having
said that, it has taken me three passes at the book for things to start falling into place for me.
Once you have mastered thinking and designing with OOP, that will be applicable for any other OOP
language. The concepts of OOP remain the same, whatever language you are using to implement those
designs in.
I'm finally getting the picture of how polymorphism works, and objects are instantiated
on-the-fly dynamically at run time.
Interfaces are no longer a mystery to me now either.
HTH.
Keith Roberts
----
Server IP: 194.145.210.4
Probable Submitter: 81.168.74.150
----
Manual Page -- http://www.php.net/manual/en/language.oop5.php
Edit -- https://master.php.net/note/edit/76858
Del: integrated -- https://master.php.net/note/delete/76858/integrated
Del: useless -- https://master.php.net/note/delete/76858/useless
Del: bad code -- https://master.php.net/note/delete/76858/bad+code
Del: spam -- https://master.php.net/note/delete/76858/spam
Del: non-english -- https://master.php.net/note/delete/76858/non-english
Del: in docs -- https://master.php.net/note/delete/76858/in+docs
Del: other reasons-- https://master.php.net/note/delete/76858
Reject -- https://master.php.net/note/reject/76858
Search -- https://master.php.net/manage/user-notes.php