Web Database Applications with PHP, and MySQL
By
Hugh E. Williams,
David Lane
March 2002
Pages: 582
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Database Applications and the Web
-
Three-Tier Architectures
-
The Client Tier
-
The Middle Tier
-
The Database Tier
-
Our Case Study
-
Chapter 2 PHP
-
Introducing PHP
-
Conditions and Branches
-
Loops
-
A Working Example
-
Arrays
-
Strings
-
Regular Expressions
-
Date and Time Functions
-
Integer and Float Functions
-
User-Defined Functions
-
Objects
-
Common Mistakes
-
Chapter 3 MySQL and SQL
-
Database Basics
-
Quick Start Guide
-
MySQL Command Interpreter
-
Managing Databases, Tables, and Indexes
-
Inserting, Updating, and Deleting Data
-
Querying with SQL SELECT
-
Join Queries
-
Modifying the Database
-
Functions
-
More on SQL and MySQL
-
Chapter 4 Querying Web Databases
-
Connecting to a MySQL Database
-
Formatting Results
-
Case Study: The Front-Page Panel
-
Interacting with Other DBMSs Using PHP
-
Chapter 5 User-Driven Querying
-
User Input
-
Querying with User Input
-
Case Study: Previous and Next Browsing
-
Case Study: Producing a select List
-
Chapter 6 Writing to Web Databases
-
Database Inserts, Updates, and Deletes
-
Issues in Writing Data to Databases
-
Chapter 7 Validation on the Server and Client
-
Validation and Error Reporting for Web Database Applications
-
Server-Side Validation
-
Client-Side Validation with JavaScript
-
Chapter 8 Sessions
-
Building Applications That Keep State
-
Session Management Over the Web
-
PHP Session Management
-
Case Study: Adding Sessions to the Winestore
-
When to Use Sessions
-
Chapter 9 Authentication and Security
-
HTTP Authentication
-
HTTP Authentication with PHP
-
Authentication Using a Database
-
Web Database Applications and Authentication
-
Protecting Data on the Web
-
Chapter 10 Winestore Customer Management
-
Overview of the Winestore Application
-
Customer Management
-
Authenticating Users
-
The Winestore Include Files
-
Chapter 11 The Winestore Shopping Cart
-
The Winestore Home Page
-
The Shopping Cart Architecture
-
Managing Redirection
-
Chapter 12 Ordering and Shipping at the Winestore
-
Finalizing Orders
-
HTML and Email Receipts
-
Chapter 13 Related Topics
-
Automated Housekeeping
-
Templates
-
Searching and Browsing
-
Appendix A Installation Guide
-
Installing MySQL, Apache, and PHP
-
Installing the Winestore Examples
-
Installing Apache to Use SSL
-
Installation Resources
-
Appendix B Internet and Web Protocols
-
The Internet
-
Hypertext Transfer Protocol
-
Appendix C Modeling and Designing Relational Databases
-
The Relational Model
-
Entity-Relationship Modeling
-
Appendix D Managing Sessions in the Database Tier
-
Using a Database to Keep State
-
PHP Session Management
-
MySQL Session Store
-
Appendix E Resources
-
Client Tier Resources
-
Middle Tier Resources
-
Database Tier Resources
-
Security and Cryptography Resources
-
Colophon
Return to Web Database Applications with PHP, and MySQL