Introduction
1:
AJAX
and the Future Of Web Applications
2:
Client-Side Techniques with Smarter JavaScript
3:
Server-Side Techniques with PHP and MySQL
4: AJAX
Form Validation
5: AJAX Chat & JSON
6:
AJAX Suggest
and Autocomplete
7:
SVG (Scalable
Vector Graphics)
8: AJAX Grid
9: AJAX RSS
Reader
10: AJAX Drag and Drop
Appendix A:
Configuring Your Working Environment
Appendix B:
Using Smarter Tools to Write Better Code
Appendix C: Advanced XML
Index
Free Chapters:
Chapter 1:
AJAX and
the Future Of Web Applications [0.5 MB PDF]
Chapter 5:
AJAX Chat [1 MB PDF]
Free eBook:
AJAX Whiteboard mini-book
Code Download
Contact
us |
Chapter 3: Server-Side Techniques
with PHP and MySQL
If AJAX is mainly about
building smarter clients, then the servers these clients talk to
must be equally smart, otherwise they won't get along very well for
too long.
In chapter 2 you only read static text or XML files from the server.
In this chapter, we start putting the server side to work, with PHP
to generate dynamic output, and MySQL to manipulate and store the
backend data. In this chapter, you will learn how to:
-
Use PHP to perform
functionality at the server side
-
Let clients
communicate to the server by passing parameters
-
Use XML on the
client and the server
-
Use PHP scripts to
avoid potential JavaScript security problems
-
Perform repetitive
tasks in your client
-
Work with MySQL
databases
-
Optimize your
application's architecture
Chapter
3: Server-Side Techniques with PHP and MySQL
- PHP and DOM
- Passing Parameters and Handling PHP Errors
- Connecting to Remote Servers and JavaScript
Security
- Using a Proxy Server Script
- A Framework for Making Repetitive Asynchronous
Requests
- Working with MySQL
- Creating Database Tables
- Manipulating Data
- Connecting to Your Database and Executing
Queries
- Wrapping Things Up and Laying Out the Structure
- Summary
|
|
Paperback 250 pages
Released: February 2005
ISBN: 1847192825
ISBN 13:
978-1-904811-82-4
eBook Version
Also Available
Buy the book & eBook together and get 80% off the eBook |
|
|
|
|