Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Beginning Ajax with PHP: From Novice to Professional and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
58 used & new from $2.17

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 yours here.
 
  

Beginning Ajax with PHP: From Novice to Professional (Paperback)

by Lee Babin (Author)
Key Phrases: submitform function, consectetur adipisicing elit, sint occaecat cupidatat non proident, Google Suggest, North Hill, Deerfoot Meadows (more...)
2.7 out of 5 stars See all reviews (12 customer reviews)

List Price: $34.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $3.50 (10%)
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 Monday, July 20? Choose One-Day Shipping at checkout. Details
36 new from $2.19 22 used from $2.17
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $19.24

Frequently Bought Together

Customers buy this book with AJAX and PHP: Building Responsive Web Applications by Cristian Darie

Beginning Ajax with PHP: From Novice to Professional + AJAX and PHP: Building Responsive Web Applications
  • This item: Beginning Ajax with PHP: From Novice to Professional by Lee Babin

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

  • AJAX and PHP: Building Responsive Web Applications by Cristian Darie

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


Customers Who Bought This Item Also Bought

Beginning PHP and MySQL: From Novice to Professional, Third Edition (Beginning from Novice to Professional)

Beginning PHP and MySQL: From Novice to Professional, Third Edition (Beginning from Novice to Professional)

by W. Jason Gilmore
4.2 out of 5 stars (105)  $31.01
Practical Web 2.0 Applications with PHP

Practical Web 2.0 Applications with PHP

by Quentin Zervaas
4.5 out of 5 stars (17)  $30.34
Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional

Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional

by Michael Purvis
4.5 out of 5 stars (10)  $31.49
Professional Ajax, 2nd Edition (Programmer to Programmer)

Professional Ajax, 2nd Edition (Programmer to Programmer)

by Nicholas C. Zakas
4.2 out of 5 stars (20)  $5.11
Foundations of Ajax

Foundations of Ajax

by Ryan Asleson
4.1 out of 5 stars (33)  $39.99
Explore similar items

Related Items


Editorial Reviews

Product Description

Ajax breathes new life into web applications by transparently communicating and manipulating data in conjunction with a server-based technology. Of all the server-based technologies capable of working in conjunction with Ajax, perhaps none are more suitable than PHP, the world's most popular scripting language.

Beginning Ajax with PHP: From Novice to Professional is the first book to introduce how these two popular technologies can work together to create next-generation applications. Author Lee Babin covers what you commonly encounter in daily web application development tasks, and shows you how to build PHP/AJAX-enabled solutions for forms validation, file upload monitoring, database-driven information display and manipulation, web services, Google Maps integration, and more. Youll learn how to

  • Take advantage of PHP and advanced JavaScript capabilities to create next-generation, highly responsive Web applications.
  • Enhance commonplace application tasks such as forms validation and tabular data display.
  • Manage cross-browser issues, ensuring your applications run on all major Web browsers.
  • Take advantage of the Google Maps API and add spatial mapping features to your website.

Youll also be introduced to other key topics like conquering cross-platform issues, countering potential security holes, and testing and debugging JavaScript with efficiency. All examples are based on real-world scenarios, so youll be able to apply what you learn to your own development situations.



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. Lee is married to a beautiful woman by the name of Dianne, who supports him in his rather full yet rewarding work schedule. 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 16, 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.7 out of 5 stars See all reviews (12 customer reviews)
  • Amazon.com Sales Rank: #539,285 in Books (See Bestsellers in Books)

Inside This Book (learn more)


Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?

Beginning Ajax with PHP: From Novice to Professional
49% buy the item featured on this page:
Beginning Ajax with PHP: From Novice to Professional 2.7 out of 5 stars (12)
$31.49
AJAX and PHP: Building Responsive Web Applications
28% buy
AJAX and PHP: Building Responsive Web Applications 4.3 out of 5 stars (29)
$31.49
Practical Web 2.0 Applications with PHP
9% buy
Practical Web 2.0 Applications with PHP 4.5 out of 5 stars (17)
$30.34
Professional Ajax, 2nd Edition (Programmer to Programmer)
7% buy
Professional Ajax, 2nd Edition (Programmer to Programmer) 4.2 out of 5 stars (20)
$5.11

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(11)
(9)
(3)
(1)
(1)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

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

 
17 of 18 people found the following review helpful:
5.0 out of 5 stars A Good Introduction to AJAX for the PHP Programmer, November 8, 2006
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.
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
16 of 18 people found the following review helpful:
3.0 out of 5 stars Decent introduction to Ajax, but flawed execution, February 22, 2007
By Stephen Rider (Chicago area) - See all my reviews
(REAL NAME)   
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 8 people found the following review helpful:
4.0 out of 5 stars Solid Intro to Ajax, January 8, 2007
By Nathan Smith (SonSpring.com) - See all my reviews
(REAL NAME)   
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.
Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)


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

2.0 out of 5 stars A NOT Good Introduction to AJAX for the PHP Programmer
I wrote this review in italian. I'll try to translate it in english soon.

-----------------------

Gli esempi, gente! Read more
Published 1 month ago by Marco Sciamanna

5.0 out of 5 stars Good starter
Good starter book, but there are plenty of tools and frameworks online (e.g. jQuery) that should be investigated and would probably serve the reader better than this book.
Published 4 months ago by Mike R

1.0 out of 5 stars Messy!
I honestly regret buying this book.

The code is extremely messy and incomplete, breaking in and out of PHP to use HTML, applying in line styles instead of using... Read more
Published 5 months ago by Renee C. Nguyen

1.0 out of 5 stars Beginning Ajax with PHP: From Novice to Professional
This book is a waste of money. It is called beginning Ajax and PHP, but the codes are barely (if any at all) explained. Read more
Published 9 months ago by Ali Nahavandi

1.0 out of 5 stars Horrid coding
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,... Read more
Published 18 months ago by Ele

1.0 out of 5 stars Error filled piece of @#$@#
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. Read more
Published on June 17, 2007 by Boddicea

3.0 out of 5 stars Too many errors in code
I was excited about this book until I realized how many errors there are in the source code! It makes it very impractical to work with, too bad!!
Published on May 7, 2007 by Hazel Gohorne

3.0 out of 5 stars Stephen Rider's Review is Dead On...
Wish I'd read the reviews more carefully before buying this book. Stephen Rider's criticisms are exactly right. Read more
Published on April 20, 2007 by R. Ross

3.0 out of 5 stars Good intro, but many errors and poor explanations
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. Read more
Published on April 10, 2007 by Steve Thompson

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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

   


Product Information from the Amapedia Community

Beta (What's this?)


So You'd Like to...


Look for Similar Items by Category


Tanaka Landscaping Power Tools

Shop for Tanaka products at Amazon.com

Tanaka provides commercial-grade blowers, trimmers, accessories, and other landscaping equipment for the homeowner.

Shop all Tanaka

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

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

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates