Customer Reviews


14 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (5)
2 star:
 (1)
1 star:
 (4)
 
 
 
 
 
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


18 of 19 people found the following review helpful:
5.0 out of 5 stars A Good Introduction to AJAX for the PHP Programmer
PHP is a very popular web scripting language. AJAX is the hottest new interactive web technology. It only makes sense to write a book to combine the two.

This book does a great job of combining clear explanation of the concepts with real working code that you can reuse in your own applications. Giving me a head start with reusable code is something I...
Published on November 8, 2006 by Jeffrey Heaton

versus
19 of 21 people found the following review helpful:
3.0 out of 5 stars Decent introduction to Ajax, but flawed execution
This book is pretty polished and gives a lot of information, but I found it flawed in a few rather bothersome ways....

First off, the author glosses over a lot of things that are generally considered "best practices" when it comes to using HTML -- for example, web page examples are often cluttered with "style" attributes applied to multiple tags, when this...
Published on February 22, 2007 by S. Rider


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

18 of 19 people found the following review helpful:
5.0 out of 5 stars A Good Introduction to AJAX for the PHP Programmer, November 8, 2006
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
PHP is a very popular web scripting language. AJAX is the hottest new interactive web technology. It only makes sense to write a book to combine the two.

This book does a great job of combining clear explanation of the concepts with real working code that you can reuse in your own applications. Giving me a head start with reusable code is something I always look for in a book, and this book provides a wide range of PHP and Javascript code that you can reuse.

Chapter 1 begins with a very good description of what exactly AJAX is, and how it differs from traditional web programming. Chapter 2 builds on Chapter 1 by explaining the basic components of AJAX. The XMLHttpRequest object is covered in great detail. Each property and method is explained. The book only explains how to use XMLHttpRequest to communicate to the server and does not cover hidden iframe's. However, that may be for the best, since I believe hidden iframes are mostly a legacy way to implement AJAX communication.

Chapter 3 gets right into it with connecting PHP with AJAX. Chapter 4 follows up with using the database. If you are not familiar with PHP or Javascript you may find some of the examples a little difficult to follow. Though if you've worked with C/C++/C# or actual Java, the syntax is close enough you should be able to follow what is going on. Though a good PHP and Javascript book will come in handy!

Chapters 5 and 6 cover forms and images, which are important parts of any AJAX web site. The author presents a calendar application that pops up forms to allow you to enter data. The book does a good job of explaining the difference between how traditional POSTed forms work compared to AJAX.

Chapter 7 shows how to create a real-world AJAX application. You are taken step by step through the creation of an AJAX photo album application. Chapter 8 discusses look and feel. It makes the very important point of when to use AJAX. Its a pain to program many of the AJAX "effects" by your self, so the author introduces you to the PEAR (PHP Extension and Application Repository) package. This can speed PHP and AJAX development quite a bit.

Chapter 9 discusses web services. Chapter 10 is very interesting as it discussed "spatially enabled web applications". This is the type of application that Google Maps is! Chapter 11 is important as it discusses cross-browser issues, and how to avoid them. Chapter 12 covers some of the unique security issues that AJAX presents. Chapter 13 explains how to test and debug AJAX applications.

The book ends with Chapter 14, which is an overview of the DOM. The DOM, or Document Object Model, allows you to easily parse and generate XML. This is very important for the XML messages that you will be exchanging with the server. If you are getting confused by some of the DOM usage earlier in the book, I would suggest reading this chapter after about Chapter 3 or 4.

This is a very good introduction to PHP and AJAX. The book is only 252 pages so it does not waste much time with introductory information. You really should be at least basically familiar with the following technologies before starting this book:

Basic HTML/XHTML layout
Java Script
PHP
SQL
Cascading Style Sheets (not critical, but still useful)

The book does not attempt to teach these technologies, but rather builds upon them.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 21 people found the following review helpful:
3.0 out of 5 stars Decent introduction to Ajax, but flawed execution, February 22, 2007
By 
S. Rider (Chicago area) - See all my reviews
(REAL NAME)   
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
This book is pretty polished and gives a lot of information, but I found it flawed in a few rather bothersome ways....

First off, the author glosses over a lot of things that are generally considered "best practices" when it comes to using HTML -- for example, web page examples are often cluttered with "style" attributes applied to multiple tags, when this sort of thing should really be dealt with using a stylesheet (reducing the amount of typing and *greatly* increasing the readability of the examples!) If there is a particular reason why he doesn't do this, he should tell us, and he doesn't.

Second is the frequent use of innerHTML, which is nonstandard JavaScript -- I would be far more confident that he's truly teaching me the best way to use Ajax if he were more clearly demonstrating knowledge of best practices for HTML and CSS.

The other thing that made this book cumbersome in places was that in giving an example script, he'll dump four or more pages of solid code in your lap, and then say "Okay, here's what I did...", which leaves you flipping back and forth trying to follow what he's saying about code that's several pages back. I've had a much easier time with other books that explain as they go: give a chunk of code, and if there's something that warrants explanation, do it right away and *then* proceed with more code.

It's a decent book in terms of information, but a harder slog than it could (or should) have been.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
1.0 out of 5 stars Error filled piece of @#$@#, June 17, 2007
By 
Boddicea "code tinker" (Indianapolis, IN United States) - See all my reviews
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
Were the editors asleep when they put this out? A couple other people commented on the errors, but still gave it a 3 star rating. They were being kind. You can't learn anything when the examples are so completely riddled with errors. Others commented on the use of the deprecated innerHTML. For $35 I expect better from an author and his publisher. This one is being returned.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
3.0 out of 5 stars Stephen Rider's Review is Dead On..., April 20, 2007
By 
R. Ross "taddymurphy" (Loveland, Colorado USA) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
Wish I'd read the reviews more carefully before buying this book. Stephen Rider's criticisms are exactly right. I was particularly disappointed with excessive use of the innerHTML object. It's been deprecated and should not have been included in a book published in 2007. The long code examples are as Stephen says, too. At the very least, some way of highlighting the difference or addition in them to bring it to the reader's attention would have been better. I read "Head Rush Ajax" before this, and it does a much better job overall of teaching the right way to code Ajax--I was just hoping for a book with more PHP-specific coding in conjunction with Ajax.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 8 people found the following review helpful:
4.0 out of 5 stars Solid Intro to Ajax, January 8, 2007
By 
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
This is a solid book for those looking to get their feet wet with Ajax concepts. Beginning Ajax with PHP: From Novice to Professional was penned by Lee Babin of the recently formed Icona.ca. He brings a wealth of PHP knowledge to the table and effectively shows how to use it alongside JavaScript.

He starts out by explaining some of the concepts behind Ajax, and how it differs from web programming in a controlled environment. He gives real-life examples of how to use asynchronous scripting, such as an image uploader / photo gallery. He also gives examples of how to use Ajax for form submission.

He shows how to use the Google Maps API to create a spatially enabled web application - in this case, one that will locate nearby video game outlets. He also explains how to make use of PEAR - PHP Extension and Application Repository, using proven code to speed up Ajax development.

He also covers how to make use of various web services, and touches on potential pitfalls for security when using Ajax. I liked the way he referred to Ajax as an increased surface area of attack. While not necessarily hazardous to your site or data, it does afford would-be malicious hackers more opportunity. Lee shows how to defend against this and secure your code.

Lastly, he finishes up with an overview of DOM Scripting methods. To me, this seems like something that would have been better suited to the beginning of the book, but I suppose he positioned it as such to delve right into the guts of Ajax, and explain the theory behind it later. I did appreciate this tangible approach.

My one qualm with this book is the client-side code in the examples. There is a mix of document types throughout: HTML 4.01 / XHTML 1.0 Transitional / XHTML 1.0 Strict. I would like to have seen more attention placed on best practices for unobtrusive JavaScript and CSS layout, instead of inline event handlers and tables. That being said, it does effectively explain concepts behind Ajax and gives understandable PHP examples. It is well worth the read.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
3.0 out of 5 stars Good intro, but many errors and poor explanations, April 10, 2007
By 
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
The author gives a good intro to Ajax and PHP combined. Gives you a good understanding of what those two are able to do together.
Sadly this get ruined by a lot of mistakes in the sample code provided, one example being an SQL phrase that actually will make the script not work. Also he dump several pages of code right in your face, but fails at explaining properly what's going on, leaving you with the feeling he might have "borrowed" the code from somewhere and not really knowing himself what it does.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
1.0 out of 5 stars Beginning Ajax with PHP: From Novice to Professional, October 6, 2008
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
This book is a waste of money. It is called beginning Ajax and PHP, but the codes are barely (if any at all) explained. Most critical parts of the codes explanation are not even paid attention to or is totally ignored, and some of the codes don't even work.

This book act as repository of bunch of codes, and that's all it is. My recommendation: save your money and just download the code from the site. You wouldn't miss anything at all, except save your money. There is nothing more than what you get from code download in this book.

It is shame, because with little efforts in explanation and care to the accuracy of the code, this book could have been a decent book.

Just download the code and study it yourself, you will do that anyway even if you buy the book.

I usually like Apress series of "From Novice to Professional" books, but this one is sure a waste of money and time.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
3.0 out of 5 stars Not that bad, come on, November 18, 2010
By 
Megan Squire (Gibsonville, NC USA) - See all my reviews
(REAL NAME)   
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
This book is not as bad as a lot of the reviews here indicate. First of all, many of the reviews take issue with things that turned out not to be issues after all. For example, InnerHTML isn't deprecated. It's now 2010 and while INDEED it looked in 2007 like it was very soon going to be deprecated, it's not. So their criticism that he's using deprecated code is a little over the top.

To me, this type of discrepancy points out one of the frustrating aspects of web development: the pace of change and the associated difficulty of finding good examples.

However, if you think about it, this is actually one of the strengths of this book. He explains things from the ground up, not using a bunch of fancy 2-week old solutions and fat libraries of canned code. This book shows you how to build your own from raw materials (starting with XMLHTTPRequest, and that's basically it!). This is like making your own tomato sauce from tomatoes you grew yourself from seed, versus buying some in a jar.

Another set of reviews picked on this book for his coding style. My hypothesis here is that if these readers had a little more experience, they'd realize that this is a "syntactic sugar" issue, not a code quality issue. I have a lot of experience reading and writing web code (going on 15 years) and when I didn't like aspects of his style, I just changed them. For example, I used php echo instead of going in and out of a php block a million times. (This was a specific complaint of one of the other reviewers. I think this points to a more general difficulty reading a coding style that is not your own.)

I think some of the reviewers here were taking their web development frustrations out on an author who might have a different purpose and style from what they were expecting. This may mean that the jacket copy or back-of-book summary needs to be changed.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
1.0 out of 5 stars Horrid coding, December 26, 2007
By 
Ele (Chicago, IL) - See all my reviews
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
The samples you can download from apress are NOTHING like what the writer has written in his book. He mixes his languages in the code in the samples, then when things don't work, you can't go back to the code that you dl'ed from him, as it's nothing like the book. I had more headaches from this book than any other technical book I've ever owned.

It's unfortunate apress didn't bother to really go over this book with a fine tooth comb, or they would have noticed the simple things like using a "try" in php... then catching it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
1.0 out of 5 stars This book was outdated when I bought it 3 years ago., June 20, 2010
This review is from: Beginning Ajax with PHP: From Novice to Professional (Paperback)
The code examples should be used more for reference, and not as literal examples. If I wrote my code the way it's represented in this book I would get fired.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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

This product

Beginning Ajax with PHP: From Novice to Professional
Beginning Ajax with PHP: From Novice to Professional by Lee Babin (Paperback - October 20, 2006)
$34.99 $30.54
In Stock
Add to cart Add to wishlist