Spring Into PHP 5
By Steven Holzner.
Published by Addison Wesley Professional.
Series: Spring Into... Series.
ISBN: 0131498622.
Published: Apr 12, 2005; Copyright 2005.
Dimensions 7x9-1/4 ; Pages: 360.
Edition: 1st.
This book is on Safari Tech Books Online.
There is a link to a sample chapter on the book's online catalog page. The sample chapter is "Handling Strings and Arrays".
Here's a bit about myself which may help you in considering this review.
I've just recently learned to use PHP. I've read three other PHP books. I've used PHP a little.
I've been programming for many years and have learned many languages. I've made significant use of more than 20 of them.
I'm not much interested in most databases.
I've built many websites, mostly not at work.
To get the examples download
This is a well organized, easy to read introduction to PHP 5. It covers the basics of the language and enough more to enable the reader to do much useful work on the web.
| book organization | my likes | my gripes | who for |
This book is part of the Addison Wesley Professional Spring Into Series. Part of what this means is that it is explicitly divided into manageable units.
In this case there are 9 chapters, all of moderate length (actually from 32 to 36 pages). Each chapter is divided into
See Chapter Titles in the left column for a list of the chapters and for how to view the full table of contents.
Each short chunk begins with a clearly marked title at the top of a page and takes up either one or two pages. Here's some examples of chunk titles:
There are lots of examples in the chunks.
There are also two appendixes: one on PHP language elements and one a function reference.
I especially like
OK, I have some minor gripes.
Download Directories: When I downloaded the example's, I found the examples for Chapter 9 in the ch10 directory, which I found a tad confusing. The ch09 directory contained graphic examples that are not in the book at all. I would have preferred that ch09 be the directory containing Chapter 9 examples and that the directory containing graphics examples be called Bonus or something like that.
This is a very minor problem, and now that you are aware of it mostly it's a matter of having some extra examples.
I first reported this very minor problem 2005-09-28, but as of 2005-10-08 the fix hasn't appeared in any of the downloads I've done, though it occurs to me that could be due to some kind of caching problem.
Learning: The book is very good at teaching the basics of the PHP language. However, the book does not try to teach the reader how to program. E.g. For the most part it does not delve into tradeoffs between various approaches to a problem.
This may not be a fault at all but rather a wise limitation.
I do wish the book put more attention on learning to learn. For example, the functions show_source and var_dump which I've found quite useful in learning don't make it into the index.
Combo Chapters: Two of the chapters combine different topics that don't seem closely related to me.
Does this matter much? No, the chapters are very clear.
Also, there certainly is some relationship between strings and arrays. For example, there is a chunk on "Imploding and Exploding Arrays" which shows how to convert between the two using the implode and explode functions.
This book would be ideal for someone who
Some reasons you might not want this book are:
I've recommended this book to two people in user groups I'm in to help get them started with PHP. This is the best tutorial introduction to PHP basics I've encountered.
Smiley Rating: :) :) :) :) (very good)