PHP Object - Oriented Solutions

PHP Object - Oriented Solutions by David Powers

PHP Object - Oriented Solutions

Binding:
Paperback
Number of Pages:
392
ISBN:
1430210117
Product Group:
book
Publisher:
friends of ED
Publication Date:
Aug. 18, 2008
BooksForGeeks.com ID:
1151

Reviews for PHP Object - Oriented Solutions

  1. best php oop book out there

    Rated 5 out of 5 stars, July 12th, 2009

    read several of the various php oop books arround and can honestly recommend this one as the best arround.

    Well written, nice examples and understandable - what more do you need
  2. Highly recommended.

    Rated 5 out of 5 stars, January 12th, 2009

    OOP has always fascinated me. Years ago I was inadvertently doing my own ones with static multidimensional arrays, so the basic principles are the same. Being able to wrap them up together with their associated functions is the primary gain that OOP has offered me.

    The trouble with OOP and PHP is that it has changed so much over the years. If you rely on the web for your research you have to be very careful because half the articles out there refer to problems etc that have subsequently been fixed. This is especially true when dealing with cloning and referencing objects. Consequently, a decent book on the subject is a godsend.

    This is a decent book. It isn't perfect. The only perfect book a programmer can find on a language is the one they write themselves once they have learnt how to use it properly. Everybody will have their own way of doing things. Consequently, some of the stuff I need to do was still not covered here in any depth (but neither was it covered anywhere else...) However, the majority of OOP that I need was, and covered well. The examples all helped too. We need more stuff like that please!

    What wasn't covered? Well, I'm still learning so I am the wrong person to give a definitive list, however, one subject was a bit lacking. I was writing a table object, to render tables in a nice tidy fashion (relax, they were proper data tables, nothing to do with layout). Anyway, the table object is made up of a series of column objects. The problem I have had is referencing the column objects from within the table object. The only way I was able to do this was to make the column class properties public. If I tried using a column method within the object class it would just tank.

    The book does describe how to do this properly, but it wasn't very clear and only a couple of paragraphs. I am currently using my public approach, but hopefully one day I will crack it.

    So, not 100% perfect, but definately good enough to be worthy of five stars. Anybody struggling with php objects will definately find an ally here.

Our Network

BooksForGeeks.com is a participant in the Amazon Europe S.à r.l. Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.co.uk