Authoring dynamic pages 225
The embedded instructions on this page perform the following actions:
1.
Create a variable called
department
and assign the string
"Sales"
to it.
2.
Insert the variable’s value,
"Sales"
, in the HTML code.
The application server returns the following page to the web server:
<html>
<head>
<title>Trio Motors Information Page</title>
</head>
<body>
<h1>About Trio Motors</h1>
<p>Trio Motors is a leading automobile manufacturer.</p>
<p>Be sure to visit our Sales page.</p>
</body>
</html>
The web server sends the page to the requesting browser, which displays it
as follows:
About Trio Motors
Trio Motors is a leading automobile manufacturer.
Be sure to visit our Sales page.
You choose a scripting or tag-based language to use depending on the
server technology available on your server. Here are the most popular
languages for the five server technologies supported by Dreamweaver:
For more information, see
“Choosing a server technology” on page 226
.
Dreamweaver can create the server-side scripts or tags necessary to make
your pages work, or you can write them by hand in the Dreamweaver
coding environment.
Server technology
Language
ColdFusion
ColdFusion Markup Language (CFML)
ASP.NET
Visual Basic
C#
Active Server Pages (ASP)
VBScript
JavaScript
Java Server Pages (JSP)
Java
PHP
PHP
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...