Adobe 38040334 - Dreamweaver CS3 User Manual page 499

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Chris's problem is that the fitness program has grown too successful. So many employees now participate that Chris
is inundated with e-mails at the end of each month. Chris asks Janet if a web-based solution exists.
Janet proposes an intranet-based web application that performs the following tasks:
Lets employees enter their mileage on a web page using a simple HTML form
Stores the employees' mileage in a database
Calculates fitness points based on the mileage data
Lets employees track their monthly progress
Gives Chris one-click access to point totals at the end of each month
Janet gets the application up and running before lunchtime using Dreamweaver, which has the tools she needs to
build this kind of application quickly and easily.
How a web application works
A web application is a collection of static and dynamic web pages. A static web page is one that does not change when
a site visitor requests it: The web server sends the page to the requesting web browser without modifying it. In
contrast, a dynamic web page is modified by the server before it is sent to the requesting browser. The changing nature
of the page is why it's called dynamic.
For example, you could design a page to display fitness results, while leaving certain information (such as employee
name and results) to be determined when the page is requested by a particular employee.
The next sections describe how web applications work in greater detail.
Processing static web pages
A static website comprises a set of related HTML pages and files hosted on a computer running a web server.
A web server is software that serves web pages in response to requests from web browsers. A page request is
generated when a visitor clicks a link on a web page, selects a bookmark in a browser, or enters a URL in a browser's
address text box.
The final content of a static web page is determined by the page designer and doesn't change when the page is
requested. Here's an example:
<html>
<head>
<title>Trio Motors Information Page</title>
</head>
<body>
<h1>About Trio Motors</h1>
<p>Trio Motors is a leading automobile manufacturer.</p>
</body>
</html>
Every line of the page's HTML code is written by the designer before the page is placed on the server. Because the
HTML doesn't change once it's on the server, this kind of page is called a static page.
Note: Strictly speaking, a "static" page may not be static at all. For example, a rollover image or Flash content (a SWF
file) can make a static page come alive. However, this documentation refers to a page as static if it is sent to the browser
without modifications.
September 4, 2007
DREAMWEAVER CS3
492
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents