AJAX and PHP: Building Responsive Web Applications
上QQ阅读APP看书,第一时间看更新

What This Book Covers

Chapter 1: AJAX and the Future of Web Applications is an initial incursion into the world of AJAX and the vast possibilities it opens up for web developers and companies, to offer a better experience to their users. In this chapter you’ll also build your first AJAX-enabled web page, which will give you a first look of the component technologies.

Chapter 2: Client-Side Techniques with Smarter JavaScript will guide you through the technologies you’ll use to build AJAX web clients, using JavaScript, the DOM, the XMLHttpRequest object, and XML. While not being a complete tutorial for these technologies, you’ll be put on the right track for using them together to build a solid foundation for your future applications.

Chapter 3: Server-Side Techniques with PHP and MySQL completes the theoretical foundation by presenting how to create smart servers to interact with your AJAX client. You’ll learn various techniques for implementing common tasks, including handling basic JavaScript security and error-handling problems.

Chapter 4: AJAX Form Validation guides you through creating a modern, responsive, and secure form validation system that implements both real-time AJAX validation and server-side validation on form submission.

Chapter 5: AJAX Chat presents a simple online chat that works exclusively using AJAX code, without using Java applets, Flash code, or other specialized libraries as most chat applications do these days.

Chapter 6: AJAX Suggest and Autocomplete builds a Google Suggest-like feature, that helps you quickly find PHP functions, and forwards you to the official help page for the chosen function.

Chapter 7: AJAX Real-Time Charting with SVG teaches you how to implement a real-time charting solution with AJAX and SVG. SVG (Scalable Vector Graphics) is a text-based graphics language that can be used to draw shapes and text.

Chapter 8: AJAX Grid teaches you how to build powerful AJAX-enabled data grids. You’ll learn how to parse XML documents using XSLT to generate the output of your grid.

Chapter 9: AJAX RSS Reader uses the SimpleXML PHP library, XML, and XSLT to build a simple RSS aggregator.

Chapter 10: AJAX Drag and Drop is a demonstration of using the script.aculo.us framework to build a simple list of elements with drag-and-drop functionality.

Appendix A: Preparing Your Working Environment teaches you how to install and configure the required software: Apache, PHP, MySQL, phpMyAdmin. The examples in this book assume that you have set up your environment and sample database as shown here.

At the book’s mini-site at http://ajaxphp.packtpub.com, you can find the online demos for all the book’s AJAX case studies.