197
11
CHAPTER 11
Tutorial: Developing a
Web Application
In this tutorial, you’ll learn how to use Macromedia Dreamweaver 8 to
quickly begin developing dynamic database-driven web applications,
allowing you to present information retrieved from a database on your
web pages.
You’ll display data on web pages for the Cafe Townsend site, using a
sample database provided with Dreamweaver. You’ll also use Dreamweaver
to create a record-insertion form to let visitors leave comments.
In this tutorial, you will complete the following tasks:
Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Review your task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Open a document to work in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Define a recordset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Display the database records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Add dynamic fields to the table. . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Set a repeated region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207
View your page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Create a record insert form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Copy files to the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Further reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...