Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Is this old book a good book for php oop beginners?

Posted on 2013-11-29
7
Medium Priority
?
278 Views
Last Modified: 2013-12-01
http://www.amazon.com/PHP-Object-Oriented-Solutions-David-Powers/dp/1430210117/ref=pd_bxgy_b_img_y

This book was written in 2008.  After object oriented beginners tutorial, I am reading about
spl for changing dates.  Is spl used anymore?

I ignore the parts about php6

What you’ll learn
PHP features, such as the Standard PHP Library (SPL), that are poorly documented or ignored by existing books
How to develop classes of their own
OOP in easy-to-understand language without getting bogged down in dense theory
Solid foundations for developers wishing to delve more deeply into OOP
How to leverage the strengths of OOP as a means for creating reusable code that can be used successfully within a procedural context
How to code for both PHP 5 and 6

Open in new window

0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39685528
SPL gets used, but it is not exactly mainstream.  I've found it useful for directory iterating.  The Powers book is probably OK.  I would also recommend Welling/Thompson.  They have an update coming soon, but its publication date has been pushed back a few times.  Any book about PHP that is nearly six years old has got to have some pieces missing.
0
 

Author Comment

by:rgb192
ID: 39685790
I bought the book you suggested later realizing that it is 2008 4th edition because

They have an update coming soon, but its publication date has been pushed back a few times.  Any book about PHP that is nearly six years old has got to have some pieces missing.


I may not read that book because it is 2008.

Should I buy and read this book you also suggested in another question: september 2012
http://www.amazon.com/PHP-Advanced-Object-Oriented-Programming-QuickPro/dp/0321832183/


I want to learn object oriented programming and use php as a language I am familiar with.

I do not want to just learn advanced php.
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39685816
I have Ullman's book.  I just got it recently and have not read all of it yet, but I like it so far and I'd be comfortable recommending it.

Most of what you'll learn about PHP object oriented programming will be present in PHP at version 5, with modest revisions along the way up to 5.3, then a few new things at 5.4 and 5.5.  So almost any well-respected text that covers the PHP 5+ object model will be useful.  What you want to be sure to avoid are the leftover examples from PHP 4.  PHP 4 OOP was a terrible mess.  Two signatures of PHP 4 OOP are the use of var, instead of public, private or protected property declarations and the use of a class constructor with a name matching the class name.  PHP 5 uses the name __construct().

PHP 5 is almost ten years old.
http://www.php.net/manual/en/history.php.php
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rgb192
ID: 39685824
https://www.google.com/#q=php+object+oriented+programming&tbm=shop


This question may be difficult for you because the answer may change every year when the books get old.
0
 

Author Comment

by:rgb192
ID: 39685827
sorry, I wrote the last comment before I read your last comment.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39685869
In fact the answer does change every year!  My first work with PHP was PHP3.
0
 

Author Closing Comment

by:rgb192
ID: 39688815
Okay larry ulman book now

and 5th edition of other book upon arrival

thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question