Beginning Ajax with PHP: From Novice to Professional and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$5.98 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Beginning Ajax with PHP: From Novice to Professional
 
 
Start reading Beginning Ajax with PHP: From Novice to Professional on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Beginning Ajax with PHP: From Novice to Professional [Paperback]

Lee Babin (Author)
2.9 out of 5 stars  See all reviews (14 customer reviews)

List Price: $34.99
Price: $30.54 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.45 (13%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $15.12  
Paperback $30.54  

Book Description

October 20, 2006

PHP is the world's most popular Web scripting language, with an installation base of almost 24 million websites. Ajax (Asynchronous JavaScript and XML) breathes new life into Web applications by transparently communicating and manipulating data in conjunction with a server-based technology, and is easily one of the most talked about topics in Web development circles today. Of all the technologies capable of working in conjunction with Ajax, perhaps none are more suitable than PHP.

Pro Ajax and PHP: Building Highly Interactive Applications is the first book to introduce how these two popular technologies can work together to create next generation applications. Covering many of the most commonplace topics developers encounter in daily web application development tasks, Babin guides readers through topics such as enhanced forms validation, data display and manipulation, JavaScript debugging, and security considerations. The result is a book that not only discusses how two of the world's most talked about technologies can come together to create amazing applications, but is also based upon a real-world context, enabling developers to immediately begin applying what they've learned to their own situation.


Frequently Bought Together

Beginning Ajax with PHP: From Novice to Professional + Foundations of Ajax (Books for Professionals by Professionals) + Ajax Patterns and Best Practices (Expert's Voice)
Price For All Three: $102.04

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Foundations of Ajax (Books for Professionals by Professionals) $26.51

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Ajax Patterns and Best Practices (Expert's Voice) $44.99

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Review

From the reviews:

"Within the hype of the Web 2.0 movement, Ajax is seen as a star technology. … The book is well organized, and the author’s writing is fairly easy to follow. … For Ajax to work, the Web application user must be using a device capable of processing JavaScript, and JavaScript processing must be enabled. … This book can help someone who wants to get a basic understanding of Ajax and PHP." (Will Wallace, ACM Computing Reviews, Vol. 49 (5), May, 2008)

About the Author

Lee Babin is a programmer based in Calgary, Alberta, Canada, where he serves as the Chief Programmer for an innovative development firm duly named The Code Shoppe. He has been developing complex web driven applications since his graduation from DeVry University in early 2002 and has since worked on over 50 custom websites and online applications. He enjoys video games, working out, martial arts, and traveling, and can usually be found working online on one of his many fun web projects at any given time. While Lee has experience in a multitude of web programming languages, his preference has always been PHP. With the release of PHP 5, many of his wishes have been fulfilled.


Product Details

  • Paperback: 272 pages
  • Publisher: Apress; 1 edition (October 20, 2006)
  • Language: English
  • ISBN-10: 1590596676
  • ISBN-13: 978-1590596678
  • Product Dimensions: 9.1 x 7 x 0.8 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 2.9 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #1,120,958 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (5)
2 star:
 (1)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
2.9 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

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

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
submitform function, consectetur adipisicing elit, sint occaecat cupidatat non proident, aute irure dolor, fugiat nulla pariatur, var markers, javascript instance, dolore magna aliqua, est laborum, php file, developer toolbar, php echo, loading message, minim veniam, commodo consequat, javascript version, ipsum dolor sit amet, php code, php script, page refresh, onload event, onclick event, valid file, processing script
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Google Suggest, North Hill, Deerfoot Meadows, Heritage Meadows Way, Lee Babin, Submit Figure, Summary Well, Add An Image Browse, Change Image Size, Shaganappi Trail
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:




Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(11)
(10)
(3)
(1)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject