Reading recommendation for PHP- OOP [message #176277] |
Thu, 15 December 2011 23:32 |
Call Me Tom
Messages: 9 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
I would like to learn PHP-OOP. I tried Google but most of what I
found was from back when PHP5.0 was released. Will someone please
recommend a semi-recent book/web article/tutorial to get me going.
Thanks for your help,
Tom
|
|
|
|
Re: Reading recommendation for PHP- OOP [message #176286 is a reply to message #176277] |
Fri, 16 December 2011 16:59 |
M. Strobel
Messages: 386 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
Am 16.12.2011 00:32, schrieb Call Me Tom:
> I would like to learn PHP-OOP. I tried Google but most of what I
> found was from back when PHP5.0 was released. Will someone please
> recommend a semi-recent book/web article/tutorial to get me going.
>
> Thanks for your help,
> Tom
Any good PHP5 book will do.
It is less a syntax problem, but you need to learn how to use
objects to solve your problems/meet the requirements.
Then watch out, your book should not bother you with PHP4 syntax.
/Str.
|
|
|
Re: Reading recommendation for PHP- OOP [message #176290 is a reply to message #176286] |
Mon, 19 December 2011 14:42 |
Goran
Messages: 38 Registered: January 2011
Karma: 0
|
Member |
|
|
On 16.12.2011 17:59, M. Strobel wrote:
> Am 16.12.2011 00:32, schrieb Call Me Tom:
>> I would like to learn PHP-OOP. I tried Google but most of what I
>> found was from back when PHP5.0 was released. Will someone please
>> recommend a semi-recent book/web article/tutorial to get me going.
>>
>> Thanks for your help,
>> Tom
>
> Any good PHP5 book will do.
PHP5 is not enough, it should be 5.3 at least... Many new patterns make
more sense with newer versions. For example, traits are ideal for adding
logging capability, then lambda functions, namespaces...
|
|
|
Re: Reading recommendation for PHP- OOP [message #176293 is a reply to message #176290] |
Mon, 19 December 2011 18:35 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 12/19/2011 9:42 AM, Goran wrote:
> On 16.12.2011 17:59, M. Strobel wrote:
>> Am 16.12.2011 00:32, schrieb Call Me Tom:
>>> I would like to learn PHP-OOP. I tried Google but most of what I
>>> found was from back when PHP5.0 was released. Will someone please
>>> recommend a semi-recent book/web article/tutorial to get me going.
>>>
>>> Thanks for your help,
>>> Tom
>>
>> Any good PHP5 book will do.
>
> PHP5 is not enough, it should be 5.3 at least... Many new patterns make
> more sense with newer versions. For example, traits are ideal for adding
> logging capability, then lambda functions, namespaces...
I agree with Tom - any decent book on PHP 5.0 is good enough to learn OO
techniques. Other things like traits (which weren't introduced until
PHP 5.4) and lambda functions aren't necessary and can confuse a beginner.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|