Preface |
|
ix | |
|
Database Applications and the Web |
|
|
1 | (15) |
|
|
2 | (1) |
|
|
3 | (13) |
|
The PHP Scripting Language |
|
|
16 | (41) |
|
|
16 | (12) |
|
|
28 | (5) |
|
|
33 | (3) |
|
|
36 | (1) |
|
|
37 | (6) |
|
|
43 | (10) |
|
|
53 | (4) |
|
Arrays, Strings, and Advanced Data Manipulation in PHP |
|
|
57 | (51) |
|
|
57 | (19) |
|
|
76 | (11) |
|
|
87 | (10) |
|
|
97 | (6) |
|
|
103 | (5) |
|
Introduction to Object-Oriented Programming with PHP 5 |
|
|
108 | (26) |
|
|
108 | (16) |
|
|
124 | (7) |
|
Throwing and Catching Exceptions |
|
|
131 | (3) |
|
|
134 | (37) |
|
|
135 | (5) |
|
MySQL Command Interpreter |
|
|
140 | (2) |
|
Managing Databases and Tables |
|
|
142 | (6) |
|
Inserting, Updating, and Deleting Data |
|
|
148 | (4) |
|
|
152 | (8) |
|
|
160 | (8) |
|
Case Study: Adding a New Wine |
|
|
168 | (3) |
|
|
171 | (48) |
|
Querying a MySQL Database Using PHP |
|
|
172 | (16) |
|
|
188 | (20) |
|
|
208 | (11) |
|
|
219 | (32) |
|
|
219 | (1) |
|
|
220 | (10) |
|
|
230 | (21) |
|
|
251 | (34) |
|
Database Inserts, Updates, and Deletes |
|
|
251 | (19) |
|
Issues in Writing Data to Databases |
|
|
270 | (15) |
|
Validation with PHP and JavaScript |
|
|
285 | (53) |
|
Validation and Error Reporting Principles |
|
|
285 | (2) |
|
Server-Side Validation with PHP |
|
|
287 | (20) |
|
JavaScript and Client-Side Validation |
|
|
307 | (31) |
|
|
338 | (31) |
|
Introducing Session Management |
|
|
339 | (1) |
|
|
340 | (7) |
|
Case Study: Using Sessions in Validation |
|
|
347 | (10) |
|
|
357 | (3) |
|
PHP Session API and Configuration |
|
|
360 | (9) |
|
Authentication and Security |
|
|
369 | (33) |
|
|
369 | (4) |
|
HTTP Authentication with PHP |
|
|
373 | (12) |
|
Form-Based Authentication |
|
|
385 | (12) |
|
Protecting Data on the Web |
|
|
397 | (5) |
|
Errors, Debugging, and Deployment |
|
|
402 | (20) |
|
|
402 | (5) |
|
Common Programming Errors |
|
|
407 | (5) |
|
|
412 | (10) |
|
|
422 | (35) |
|
|
422 | (5) |
|
|
427 | (13) |
|
|
440 | (17) |
|
Advanced Features of Object-Oriented Programming in PHP 5 |
|
|
457 | (22) |
|
Working with Class Hierarchies |
|
|
457 | (5) |
|
|
462 | (1) |
|
Abstract Classes and Interfaces |
|
|
462 | (7) |
|
Freight Calculator Example |
|
|
469 | (10) |
|
|
479 | (62) |
|
|
480 | (1) |
|
|
481 | (16) |
|
Manipulating Data and Databases |
|
|
497 | (8) |
|
|
505 | (8) |
|
|
513 | (3) |
|
|
516 | (6) |
|
|
522 | (5) |
|
Managing Users and Privileges |
|
|
527 | (5) |
|
|
532 | (9) |
|
Hugh and Dave's Online Wines: A Case Study |
|
|
541 | (42) |
|
Functional and System Requirements |
|
|
542 | (2) |
|
|
544 | (7) |
|
|
551 | (32) |
|
|
583 | (13) |
|
|
584 | (3) |
|
|
587 | (4) |
|
|
591 | (5) |
|
|
596 | (22) |
|
|
597 | (1) |
|
|
598 | (6) |
|
The Shopping Cart Implementation |
|
|
604 | (14) |
|
Ordering and Shipping at the Online Winestore |
|
|
618 | (24) |
|
|
618 | (2) |
|
Credit Card and Shipping Instructions |
|
|
620 | (4) |
|
|
624 | (6) |
|
|
630 | (12) |
|
Searching and Authentication in the Online Winestore |
|
|
642 | (25) |
|
|
643 | (5) |
|
|
648 | (10) |
|
|
658 | (9) |
A. Linux Installation Guide |
|
667 | (21) |
B. Microsoft Windows Installation Guide |
|
688 | (10) |
C. Mac OS X Installation Guide |
|
698 | (16) |
D. Web Protocols |
|
714 | (12) |
E. Modeling and Designing Relational Databases |
|
726 | |
F. Managing Sessions in the Database Tier |
|
716 | (45) |
G. Resources |
|
761 | (5) |
H. The Improved MySQL Library |
|
766 | (13) |
Index |
|
779 | |