Books & Videos

Table of Contents

  1. Chapter 1 Introduction to Dynamic Web Content

    1. HTTP and HTML: Berners-Lee’s Basics

    2. The Benefits of PHP, MySQL, and JavaScript

    3. The Apache Web Server

    4. About Open Source

    5. Bringing It All Together

    6. Test Your Knowledge: Questions

  2. Chapter 2 Setting Up a Development Server

    1. What Is a WAMP, MAMP, or LAMP?

    2. Installing a WAMP on Windows

    3. Installing a MAMP on Mac OS X

    4. Installing a LAMP on Linux

    5. Working Remotely

    6. Using a Program Editor

    7. Using an IDE

    8. Test Your Knowledge: Questions

  3. Chapter 3 Introduction to PHP

    1. Incorporating PHP Within HTML

    2. This Book’s Examples

    3. The Structure of PHP

    4. Test Your Knowledge: Questions

  4. Chapter 4 Expressions and Control Flow in PHP

    1. Expressions

    2. Operators

    3. Conditionals

    4. Looping

    5. Implicit and Explicit Casting

    6. PHP Dynamic Linking

    7. Test Your Knowledge: Questions

  5. Chapter 5 PHP Functions and Objects

    1. PHP Functions

    2. Including and Requiring Files

    3. PHP Version Compatibility

    4. PHP Objects

    5. Test Your Knowledge: Questions

  6. Chapter 6 PHP Arrays

    1. Basic Access

    2. The foreach...as Loop

    3. Multidimensional Arrays

    4. Using Array Functions

    5. Test Your Knowledge: Questions

  7. Chapter 7 Practical PHP

    1. Using printf

    2. Date and Time Functions

    3. File Handling

    4. System Calls

    5. XHTML

    6. Test Your Knowledge: Questions

  8. Chapter 8 Introduction to MySQL

    1. MySQL Basics

    2. Summary of Database Terms

    3. Accessing MySQL via the Command Line

    4. Indexes

    5. MySQL Functions

    6. Accessing MySQL via phpMyAdmin

    7. Test Your Knowledge: Questions

  9. Chapter 9 Mastering MySQL

    1. Database Design

    2. Normalization

    3. Relationships

    4. Transactions

    5. Using EXPLAIN

    6. Backing Up and Restoring

    7. Test Your Knowledge: Questions

  10. Chapter 10 Accessing MySQL Using PHP

    1. Querying a MySQL Database with PHP

    2. A Practical Example

    3. Practical MySQL

    4. Test Your Knowledge: Questions

  11. Chapter 11 Form Handling

    1. Building Forms

    2. Retrieving Submitted Data

    3. An Example Program

    4. Test Your Knowledge: Questions

  12. Chapter 12 Templating with Smarty

    1. Why Smarty?

    2. Installation

    3. Creating Scripts

    4. Creating Templates

    5. A Practical Example

    6. Test Your Knowledge: Questions

  13. Chapter 13 Cookies, Sessions, and Authentication

    1. Using Cookies in PHP

    2. HTTP Authentication

    3. Using Sessions

    4. Test Your Knowledge: Questions

  14. Chapter 14 Exploring JavaScript

    1. JavaScript and HTML Text

    2. Using Comments

    3. Semicolons

    4. Variables

    5. Operators

    6. Variable Typing

    7. Functions

    8. Global Variables

    9. The Document Object Model

    10. Test Your Knowledge: Questions

  15. Chapter 15 Expressions and Control Flow in JavaScript

    1. Expressions

    2. Operators

    3. The with Statement

    4. Using onError

    5. Using try...catch

    6. Conditionals

    7. Looping

    8. Explicit Casting

    9. Test Your Knowledge: Questions

  16. Chapter 16 JavaScript Functions, Objects, and Arrays

    1. JavaScript Functions

    2. JavaScript Objects

    3. JavaScript Arrays

    4. Test Your Knowledge: Questions

  17. Chapter 17 JavaScript and PHP Validation and Error Handling

    1. Validating User Input with JavaScript

    2. Regular Expressions

    3. Redisplaying a Form After PHP Validation

    4. Test Your Knowledge: Questions

  18. Chapter 18 Using Ajax

    1. What Is Ajax?

    2. Using XMLHttpRequest

    3. Test Your Knowledge: Questions

  19. Chapter 19 Using YUI for Ajax and More

    1. Choosing a Framework

    2. Using YUI

    3. Other Uses for YUI

    4. Test Your Knowledge: Questions

  20. Chapter 20 Bringing It All Together

    1. Designing a Social Networking Site

    2. On the Website

    3. rnfunctions.php

    4. rnheader.php

    5. rnsetup.php

    6. index.php

    7. rnsignup.php

    8. rnsignup.php (YUI version)

    9. rncheckuser.php

    10. rnlogin.php

    11. rnprofile.php

    12. rnmembers.php

    13. rnfriends.php

    14. rnmessages.php

    15. rnlogout.php

  1. Appendix Solutions to the Chapter Questions

    1. Chapter 1 Answers

    2. Chapter 2 Answers

    3. Chapter 3 Answers

    4. Chapter 4 Answers

    5. Chapter 5 Answers

    6. Chapter 6 Answers

    7. Chapter 7 Answers

    8. Chapter 8 Answers

    9. Chapter 9 Answers

    10. Chapter 10 Answers

    11. Chapter 11 Answers

    12. Chapter 12 Answers

    13. Chapter 13 Answers

    14. Chapter 14 Answers

    15. Chapter 15 Answers

    16. Chapter 16 Answers

    17. Chapter 17 Answers

    18. Chapter 18 Answers

    19. Chapter 19 Answers

  2. Appendix Online Resources

    1. PHP Resource Sites

    2. MySQL Resource Sites

    3. JavaScript Resource Sites

    4. Ajax Resource Sites

    5. Miscellaneous Resource Sites

    6. O’Reilly Resource Sites

  3. Appendix MySQL’s FULLTEXT Stopwords

  4. Appendix MySQL Functions

    1. String Functions

    2. Date Functions

    3. Time Functions

  5. Appendix Using PEAR and PHPUnit

    1. Installation

    2. Creating a Connect Instance

    3. Rewriting to Use PEAR

    4. Adding Other PEAR Packages

    5. Unit Testing with PHPUnit

  6. Colophon