Apress

Beginning Ajax with PHP

From Novice to Professional

By Lee Babin

Beginning Ajax with PHP Cover Image

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.

Full Description

  • ISBN13: 978-1-59059-667-8
  • 272 Pages
  • User Level: Beginner to Advanced
  • Publication Date: October 19, 2006
  • Available eBook Formats: PDF
  • Print Book Price: $34.99
  • eBook Price: $24.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full 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.

You’ll 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 you’ll be able to apply what you learn to your own development situations.

What you’ll learn

  • 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.

Table of Contents

Table of Contents

  1. Introducing Ajax
  2. Ajax Basics
  3. PHP and Ajax
  4. Database-Driven Ajax
  5. Forms
  6. Images
  7. A Real-World Ajax Application
  8. Ergonomic Display
  9. Web Services
  10. Spatially Enabled Web Applications
  11. Cross-Browser Issues
  12. Security
  13. Testing and Debugging
  14. The DOM
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 43:

in the code on page 43, I get an error for "strtolower ($names)" saying that $names cannot be an array.

I revised it to "arraytolower ($names)" and added the following function and then it works.

function arraytolower(array $array, $round = 0){
return unserialize(strtolower(serialize($array)));
}