Amazon.com: Customer Reviews: Beginning PHP and MySQL: From Novice to Professional, Third Edition

Customer Reviews


110 Reviews
5 star:
 (66)
4 star:
 (19)
3 star:
 (12)
2 star:
 (7)
1 star:
 (6)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


157 of 159 people found the following review helpful:
5.0 out of 5 stars Beginning PHP Not Beginning Programming
[Updated for Second Edition]
A beginning PHP book, not a beginning programming book. The subtitle, 'From Novice to Professional', can be a tad misleading for the novice coder. A beginning programming book covers a lot of material that this book assumes the reader already understands. Many software books include a 'Who Is This Book For' section that offers some...
Published on June 17, 2005 by David Stapleton

› See more 5 star, 4 star reviews
versus
79 of 82 people found the following review helpful:
3.0 out of 5 stars Frustrating
I'm not new to programming or web programming, but I was new to PHP. This book is much better as a reference than an intro to PHP, however, even there it has its limitations.

I bought this book, read the first 5 chapters (130 pages), and then stopped reading it because I was learning too slowly (ie, reading too many pages and picking up too little usability)...
Published on December 20, 2006 by David Diez

› See more 3 star, 2 star, 1 star reviews

‹ Previous | 1 211| Next ›
Most Helpful First | Newest First

 
157 of 159 people found the following review helpful:
5.0 out of 5 stars Beginning PHP Not Beginning Programming, June 17, 2005
By David Stapleton (California) - See all my reviews
(VINE VOICE)    (REAL NAME)   
Amazon Verified Purchase(What's this?)
[Updated for Second Edition]
A beginning PHP book, not a beginning programming book. The subtitle, 'From Novice to Professional', can be a tad misleading for the novice coder. A beginning programming book covers a lot of material that this book assumes the reader already understands. Many software books include a 'Who Is This Book For' section that offers some guidance on the suitable reader knowledge level, not this one.

That said, I found this book to be very helpful. The sections on installing and configuring Apache, PHP and MySQL certainly saved me many hours of reading the online documentation and tweaking of settings while setting up my local test bed. That, in itself, made me a very happy camper. The author goes on to cover the various aspects from the basics of the PHP language and class libraries to topics like Authentication, Security, Session Handlers and eMail functionality that help anyone new to PHP setup some fairly sophisticated site capabilities.

The second edition has been supplemented with an added 200 pages, including a new section on PEAR (PHP Extension and Application Repository). This is a wealth of prewritten classes and packages that can be used to add even more sophisticated functionality to the novice's web development toolbox. The author demonstrates several of the more prominent packages.

The second edition has greatly beefed up with additional coverage of MySQL 5, including chapters on stored procedures, triggers and the PHP mysqli extension (all missed in the first edition). Most of the examples offered are clean and general enough to be useful templates for the reader's tailoring.

My suggestion for novices to PHP is read through chapter 9, then skip to the various sections that solve specific problems being faced or are of particular interest, including installing and configuring your local test bed.

Bottom line, the first edition was a good book for intermediate to veteran programmers looking for a quick tutorial on PHP (circa version 5.0); the second edition is even better. Novice programmers should ensure that they have a full understanding of the basics of programming (and OOP) before attempting it. I would now use this book to teach a class on PHP.
P-)
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
79 of 82 people found the following review helpful:
3.0 out of 5 stars Frustrating, December 20, 2006
By David Diez (Boston, MA) - See all my reviews
Amazon Verified Purchase(What's this?)
I'm not new to programming or web programming, but I was new to PHP. This book is much better as a reference than an intro to PHP, however, even there it has its limitations.

I bought this book, read the first 5 chapters (130 pages), and then stopped reading it because I was learning too slowly (ie, reading too many pages and picking up too little usability). As an introductory text, I would rather this book moved at a greater breadth but less depth -- it goes through dozens of specific functions, making it feel like a dictionary. There is also little attention brought to the functions you will be using soon over the ones you will not use for awhile yet. In that sense, it was very frustrating to spend a lot of time reading several chapters and still not feeling like I was getting anywhere or able to use much of the power of PHP.

In my frustration, I decided to revisit w3schools . com, and I found their tutorial immensely useful as an introduction to both PHP and MySQL (I needed both and I needed them quickly). That choice allowed me to start writing some PHP code within an hour and start working with databases quickly as well (nothing is mentioned about MySQL until Chapter 24 of this book).

So now, instead of use this PHP/MySQL book as a learning tool, I use it as a reference. The index isn't ideal*, so it still isn't a great reference, and the MySQL layout has not been helpful. I will be buying some PHP cookbooks to get a better feel for the capabilities of PHP and how to use its functions properly, and I will report back in this review after I find a better reference to recommend over this one (hopefully by mid-January).
*The index is HUGE, but I still have a difficult time finding things I need since I look for a lay-word over the word that is listed. If I already knew the word that is listed in the index, I may not even need to look in the index.

This book was written for new programmers that want a programming introduction to PHP and was not written for web programmers new to PHP. Although I program, I want features of a web programming book when I buy a web programming book.

What I consider a feature of a (good) web programming book: Chapters are split into a quick intro to the most commonly used fuctions of the chapter's topic (5-10 pages) and a longer part for use as a reference (15-20 pages). The book's format has good eye catching sections so readers do not waste time finding what is important if we just want to skim things so we can get into doing some web programming quickly. Commonly used functions are not buried in a bunch of uncommonly used functions.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
67 of 69 people found the following review helpful:
4.0 out of 5 stars Excellent "Let's Do It" Tutorial, December 13, 2004
By Robert L. Cochran (Greenbelt, MD USA) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
I reach for this book when I want to get up to speed on something about PHP 5 quickly. With it, I can start coding and seeing results right away. The book covers a range of topics, the practicality of which can be best appreciated when you are faced with a real life project. For example, pp. 660-665 in Chapter 27, "Practical Database Queries", covers creating paged output (that is, spreading query results across several web pages) and listing page numbers which was just the thing I wanted to learn last night. My wife's database needs that sort of output. You can download Gilmore's example code and quickly start using it and then applying the lessons learned to build your own code.

This book is geared to people who want to get their hands on real code, wring the juice from it, make mistakes with it, learn all they can from it, and then tap out fresh code that does the same things with a little more oomph. Such people do not like long, dreary tracts of reading before being able participate in the elusive action. It is a good learning format because the only useful way to learn programming is to dive right in and do it. The book is a blend of brief discussion and quick code snippets with the expected results shown right away. This is a very good way to learn programming.

The section on SOAP, starting on page 450, makes me realize I had better experiment with this interesting technology. I'd certainly like to be able to find the temperature for a given postal code -- and other things of greater interest. Chapters 12, "PHP Authentication", 14, "Networking With PHP", and 15, "PHP and LDAP", look into core internet services that every programmer should know how to exploit, but too often don't. For example I've learned how to authenticate a user with LDAP.

The author, W. Jason Gilmore, is cheerful and most helpful in his responses to reader inquiries. He responded quickly to my questions and I am impressed with his ability to courteously point me in the right direction.

Be sure to download Gilmore's example code. There are 30 chapters worth of programming stuffed into that zip file.

The book has a few rough edges. The most obvious is that some sentences are a little wordy. That's all right, you can move on to the next paragraphs, and will soon be trying out a new example. I wish Jason had discussed MySQL 4.1 and the mysqli interface, especially since there are other books around that cover MySQL 4.0.x. Perhaps if he had added another chapter to cover that? We can always look forward to a second edition.

This book should be near every serious programmer's desk. You, dear reader, will reach for it a surprising amount of the time.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
21 of 22 people found the following review helpful:
5.0 out of 5 stars 5+ stars for PHP sections, 4 for MySQL section, July 20, 2004
By Harold McFarland (Florida) - See all my reviews
(VINE VOICE)    (TOP 100 REVIEWER)    (REAL NAME)   
I am always skeptical when a book claims to be able to take someone from novice level to professional or even to serve the needs of both the novice and professional. If it is written for the novice then it is too basic for the professional. If it is written for the professional then it is too technical for the novice. "Beginning PHP 5 and MySQL: From Novice to Professional" is one of the very few books that lives up to its claim.

It is written in a highly readable style and organized in such a way that the professional can easily skip over the basic stuff and get right to what they need. Yet the novice can work through the book and soon become quite proficient. Areas covered in the PHP section of the book include installing and configuring PHP5, using variables, flow control, arrays, advanced OOP, error handling, expressions, forms, authentication, networking, and LDAP. Areas covered in the MySQL section include installation and configuration, table structures, and database queries.

For such a large book it contains almost no filler information. Every page contains useful information, the examples are appropriate and detailed, and descriptions are clear and useful. Author W. Jason Gilmore has a rare and wonderful talent for taking the complex and describing it in a simple, easy to understand manner so that anyone at any level can understand how to do it.

"Beginning PHP 5 and MySQL: From Novice to Professional" is a book you will want to have if you currently work with PHP or plan to in the near future. It is not only highly recommended but is the best book I've seen on PHP and I will be clearing some space off my book shelf for it since it easily replaces three or four of my favorite ones. I will have to note that the section on MySQL does not cover that subject anywhere nearly as well as the book covers PHP. Buy the book, read it, and keep it for the PHP section. For MySQL try "The Definitive Guide to MySQL, Second Edition" also from Apress.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
19 of 20 people found the following review helpful:
5.0 out of 5 stars The Best PHP Book Yet, June 11, 2005
PHP books often claim to be applicable to an absolute beginner to the professional, yet many fail to live up to this claim, except for this book. The word "beginner" doesn't mean someone who has no knowledge of html, or no knowledge of programming in general, but rather someone who knows a bit of html and maybe basic or c++ and would like to venture into the online programming world. So if you at least know that, then this book will be on your level.

What sets this book apart from the rest is a few things. First, the examples are short and to the point. There aren't pages and pages of code, where only a select portion of it is explained. Rather, Jason introduces a function and then provides a small example to explain it. Also, Jason is very good in his examples of sticking to only things he has taught you; which means you won't find yet-to-be explained functions in his code.

The second thing that sets this book apart from the rest is how Jason introduces new PHP internal Functions and other commands. There are hundreds (maybe thousands) of internal Functions and concepts in PHP and MySQL, but only a handful are used often. So every PHP/MySQL author has to determine where to draw the line at what things to discuss, and what to leave out. I've read many other PHP books and their focus is generally too broad, leaving many important functions out of their books. Not so with Jason's book. Reading through his book sometimes feels like you're reading though a PHP/MySQL manual because there are so many introduced functions and keywords, but after reading about each you instantly see how important each is. So in a nutshell, Jason introduces many more important functions than other authors, while not discussing things that you'll rarely ever use.

The third thing that sets this book above the rest is his in-depth coverage of optional/required modifiers for each function along with the various return values. For example, this is how Jason introduces filetype:

filetype()
string filetype (string filename)

Jason then explains the various return values possible like block, char, dir, etc etc. So, after you've read about a function or keyword, you come away feeling like you completely understand it. Many other PHP books will introduce a function or keyword and maybe describe a few features regarding it so when you walk away, you might wonder if it does anything else...

The fourth thing setting this book apart from the rest is Jason's explanation of Superglobals like $_GET, $_POST, etc. Many other PHP books don't even cover this! And those that do, just give a cursory overview of it. But these tools are so essential to PHP functionality that they really need to be given a proper explanation for a "beginner" learning PHP. And, only Jason's book gives that proper explanation.

Many more reasons set this book apart from others, that I could be here all day explaining them. His explanation of Object-Oriented PHP is excellent. He has chapters devoted to Regular Expressions and Working with the File and Operating System, things other books don't even cover. He discuses Authentication using PHP, something that almost anyone using PHP uses yet many PHP books don't even discuss. There are numerous other reasons why I really love this book, but I'll leave them to the reader to discover.

Though in the spirit of a good review, I do have some issues with this book. First, there are some chapters which I don't need to use, and probably never will: LDAP stuff, SOAP, SQLite, and some other stuff. This is a PHP and MySQL book, so I wish he would have ditched those chapters and discussed something that more users of PHP and MySQL can relate to.

Oh, and I should have mentioned this earlier but I just remembered it. Many, MANY, PHP books out there have an incredible amount of errors in them. In those books you'll find tons of errors in the examples, in the actual text, and in other places. But after reading all 600 pages of Jason's book, I really have to hand it to the editors. While I found an error here or there, they were few and far between. After finishing reading it, I knew that this was professionally written. Not a bunch of pages slapped together over the weekend. This is a professionally written book.

And one more compliment I can give is the way Jason talks in his book. He doesn't "talk to talk" or use fancy words in long sentances which have no practical value. In quite a few PHP books, I would get really confused after reading a paragraph or two and all it contained was words (no code)! PHP books aren't meant to contain technical writing nor feel like you're reading a section of the US Tax Code. Jason does a really good job of being direct and concise in making his points, and he's really easy to understand.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
21 of 23 people found the following review helpful:
5.0 out of 5 stars Best PHP/MySQL Book I've Read, October 11, 2004
I have been learning PHP/MySQL so I can program a web-based application that I am working on. I have read through a number of PHP/MySQL books and their sample codes and found this book to be the best by far. This book is great if you know even just the basics of HTML. If you want to learn how to create a MySQL database and use PHP to integrate your database with your web site then this is the one book to own. The author also covers helpful topics such as object oriented programming, SMARTY, function classes and other key sub-topics that help make a programmer's life much easier. I have compared the solutions in this book to others and have found this book to have far superior code. In fact, I am customizing code directly from the companion web site right after reading the book. Here's an example of how much more is in this book than in others: Most other books show you how to display on your web page a list of records pulled from your MySQL database using PHP. While most other books provide little additional detail from there, this book goes on to show you exactly how to add clickable links to each record line, break the list of records into multiple pages and put clickable page numbers at the bottom of each page that link to the pages. The bottom line is that the author helps you create all the cool stuff you see on other web sites that you wish you had on yours.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
17 of 18 people found the following review helpful:
5.0 out of 5 stars Very thorough guide for programmers, October 23, 2005
By Brian Henk "Peregrine PC" (Detroit, Michigan, USA) - See all my reviews
As said in previous reviews, this book is NOT for those that have little/no knowlege in programming. I have had an introductory class in C++, and I understood much of what is in the book minus the object-oriented stuff. The book would be an excellent guide for those coming from PHP 4 and wanting to learn new features, as well as those experienced in at least one object oriented programming language.

Anyway, on to the actual book. The book has very little overlap in chapters, making it an extremely useful reference tool. It is not a very good book to straight up learn PHP, but rather a method to your madness. By this I mean that it is more useful to read the introduction and start fiddling in PHP then referring to the book to learn new things rather than reading the book and expecting to be able to write some useful code. Although skimming the book is always good to keep the various functions of the language in the back of your mind so you know what you can do, this will probably impact you very little. There is simply too much information to memorize.

So, here are the pros and cons:

PROS
-Excellent reference
-Very thorough
-Does not meddle in basic computer programming practices/terms
-If book were memorized, you really would be a professional in
PHP with a good base for other languages

CONS
-Does not meddle in basic computer programming practices/terms
-Has very few extended examples, mostly small scripts to do
something trivial
-Spends about 1/5 on concept, 4/5 on syntax and functions
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
17 of 19 people found the following review helpful:
5.0 out of 5 stars Excellent Book, September 7, 2004
By Gregg Bolinger "Gregg" (Wichita, KS) - See all my reviews
(REAL NAME)   
I can summarize this review in nine words. If you want to learn PHP, buy this book. But that wouldn't be much of a review now would it. Jason Gilmore starts this book the way most beginner's books start; with some history. But hold on tight because it doesn't take long before your hands start getting dirty.

After the brief history the book jumps right into installing and configuration then blasts right into PHP basic; syntax, tags, data types. Then it's not long before you are writing functions, using arrays, and then one of the most updated features of PHP 5, OOP. The book keeps moving right along into advanced features like error handling, regular expressions, and networking. And just when you think you have learned it all and you couldn't possibly think of anything else you could do with PHP, the book throws MySQL into the mix. By the end of this book you should have no problems writing PHP and MySQL enabled web pages and applications.

This book is a perfect mix of what someone new to PHP needs to know as well as providing advanced material and a reference once you have a grasp of the basics. So to summarize, if you want to learn PHP, buy this book.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Comprehensive PHP book with good examples, January 19, 2005
By HL (SF Bay area, USA) - See all my reviews
I have several PHP books and if I had to choose one..this would be it.

Every PHP book is going to assume a certain amount of prior knowledge from its reader. If it assumes the reader is completely new then it probably won't be as deep.

Gilmore's book does assume some knowledge, but not a huge amount, and still takes you into the more extensive features of PHP. Most people new to PHP will often receive the advice to go to PHP.net. While that's not bad advice, new PHP programmers usually find it more help as a reference guide instead of a learning tool. I personally find it assumes more knowledge than this book.

Specifically, Gilmore's book has a good emphasis on secure PHP programming throughout (and a chapter specifically about it). When exposing the workings of a function or code snippet, he'll often show how the code could be misused and what the remedy is. Many times it is downright frightening what a nefarious individual can do if secure programming techniques aren't employed. This book opened my eyes to potential problems and, better yet, their solutions.

The writing style and organization are excellent. It's what you'd expect from a programmer and he doesn't let you down. For example, in the Arrays chapter there will be subheadings that sort the array functions by use -- such as "Sorting Arrays", "Determining Array Size and Uniqueness", "Transversing Arrays", etc. The examples are practical and useful. They don't introduce techniques or functions that he hasn't shown yet.

The book also has a very nice coding style. It's understandable, clean and concise. It doesn't rely on outside classes or libraries. I have another PHP book that unfortunately relies on using PEAR in a lot of examples-which detracts from its quality.

There is also a helpful section on PHP's configuration directives. It lists in an orderly fashion the configuration options, what they mean, the default values and the scope (how they can be changed). Whether you're programming on a local or remote server, it's helpful to know what these options are, their default and how they can be changed.

There is also an excellent exposition of PHP's new object model. There are two chapters on OOP and it seems quite comprehensive (haven't quite finished them yet).

The support from the author is fantastic. I had a question on one section and the author quickly (within a couple hours)and cheerfully answered my question. He also encouraged me to send him any other questions I have.

Overall, I'd highly recommend this book to anyone interested in PHP programming. If you're a complete beginner I'd also recommend "PHP-your visual blueprint for creating open source, server-side content" in ADDITION (not instead of) Gilmore's book. The PHP visual blueprint book is a little out of date on a few sections (there will be a new version pretty soon) and nowhere near as deep but it could be helpful for someone having problems on the basics. Good luck everyone.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
25 of 30 people found the following review helpful:
2.0 out of 5 stars Not a good beginning book, June 8, 2006
I really don't get the high praise for this book; other than the fact that most of the reviewers have programming experience already. I really think that book is way overated and, despite the claims of the title, is not suited for the beginner or the novice.

This book includes example code snipets about the use of individual functions, but does not have larger projects or exercices demonstrating how to bring things together.

Once I realized this, I thought, "well at least I can use it as a reference." And it does succeed at this to some extent. However, even in this capacity it seems a little shollow. Further, one gets the impression that it is basically a rewording of the existing documentation that is already available with PHP and MySQL.

To give just one example of all the above... Chapter 2 talks about configuration options in the php.ini file - PHP basics aren't even covered until Chapter3. Anyhow, let me open randomly to one of the excepts from the book and compare it to the .ini file:
-----------
register_long_arrays(On, Off)
Scope: PHP_INI_SYSTEM; Default value: off
This directive determines whether to continue registering the various input arrays (ENVIRONMENT, GET, POST, COOKIE, SYSTEM) using the deprecated syntax, such as HTTP_*_VARS. Disabling this directive is recommended for performance reasons.

-----------
And a cut and paste from the .ini:

Whether or not to register the old-style input arrays, HTTP_GET_VARS and friends. If you're not using them, it's recommended to turn them off,for performance reasons.
register_long_arrays = On

-----------

Again, at this pointt in the book (Chap2) a beginner/novice is still coming to grips with PHP basics (Chap3), let alone Arrays (Chap 5). Even after which, this is cryptic at best. How is this remotely geared towards either the 'beginner' or the 'novice'?! I could go on and on with examples from all parts of the book.

The sections on MySQL and the integration between it and PHP is thick, but lite. I consider this book mainly a rehash of the vendor documentation and lacking in real tutorials that are often crutial for novices to learn new skills. And, again, i think that the the book is completely mistitled.

Normally, I really like the Apress books; however, in this case I am benefiting much more from Wrox and Sams.

I might have given it a 3... but so many others scored it to high - even those who remarked on some of the same things.

-My 2 cents
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


‹ Previous | 1 211| Next ›
Most Helpful First | Newest First
Recent discussions in the Beginning PHP and MySQL: From Novice to Professional, Third Edition forum
Discussion Replies Latest Post
New edition available! 0 March 2008
Is this a good book to start with? 1 November 2007
Help on Chapter 2 page 16!! 0 May 2006
Welcome to the Beginning PHP 5 and MySQL forum 0 November 2005
 
   
 

This product

Beginning PHP and MySQL: From Novice to Professional, Third Edition
Beginning PHP and MySQL: From Novice to Professional, Third Edition by W. J. Gilmore (Paperback - March 24, 2008)
$46.99 $31.01
In Stock
Add to cart Add to wishlist
     
 
Customers who viewed this item also viewed
PHP and MySQL Web Development (4th Edition)
PHP and MySQL Web Development (4th Edition) by Luke Welling (Paperback - October 11, 2008)
4.4 out of 5 stars  See all reviews (223)   
Buy new$54.99 $34.64
In Stock
56 used & new from $29.99

PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide
PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide by Larry E. Ullman (Paperback - December 29, 2007)
4.5 out of 5 stars  See all reviews (156)   
Buy new$44.99 $29.69
In Stock
62 used & new from $18.90

Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites (Animal Guide)
4.2 out of 5 stars  See all reviews (23)   
Buy new$39.99 $26.39
In Stock
40 used & new from $21.39
 
     
     
 
Customer Communities
 
     


Your Recent History

 (What's this?)
 

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.