www.gibmonks.com

Main Page




Previous Page
Next Page

[Page 911]

Chapter 19. Web Programming

This is the common air that bathes the globe.

Walt Whitman

The longest part of the journey is said to be the passing of the gate.

Marcus Terentius Varro

Railway termini ... are our gates to the glorious and unknown. Through them we pass out into adventure and sunshine, to them, alas! we return.

E. M. Forster

There comes a time in a man's life when to get where he has to goif there are no doors or windowshe walks through a wall.

Bernard Malamud

OBJECTIVES

In this chapter you will learn:

  • The Common Gateway Interface (CGI) protocol.

  • The Hypertext Transfer Protocol (HTTP) and HTTP headers.

  • Web server's functionality.

  • The Apache HTTP Server.

  • To request documents from a Web server.

  • To implement CGI scripts.

  • To send input to CGI scripts using XHTML forms.


[Page 912]

Outline

19.1 Introduction

19.2 HTTP Request Types

19.3 Multitier Architecture

19.4 Accessing Web Servers

19.5 Apache HTTP Server

19.6 Requesting XHTML Documents

19.7 Introduction to CGI

19.8 Simple HTTP Transactions

19.9 Simple CGI Scripts

19.10 Sending Input to a CGI Script

19.11 Using XHTML Forms to Send Input

19.12 Other Headers

19.13 Case Study: An Interactive Web Page

19.14 Cookies

19.15 Server-Side Files

19.16 Case Study: Shopping Cart

19.17 Wrap-Up

19.18 Internet and Web Resources

Summary

Terminology

Self-Review Exercises

Answers to Self-Review Exercises

Exercises


Previous Page
Next Page