Macromedia dreamweaver 8-using dreamweaver Manual De Usuario

Descargar
Página de 1030
685
33
CHAPTER 33
Defining Sources of 
Dynamic Content
Dynamic websites require a data source from which to retrieve and display dynamic content. 
Macromedia Dreamweaver 8 lets you use databases, request variables, URL variables, server 
variables, form variables, stored procedures, and other sources of dynamic content. 
Depending on the data source, you can either retrieve new content to satisfy a request, or 
modify the page to meet the needs of users.
This chapter describes the procedures for defining both databases and variables as sources of 
dynamic content. To learn more about the technologies discussed in this chapter, see 
This chapter contains the following sections:
About dynamic content sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .685
Defining a recordset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
Defining URL parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  695
Defining form parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .696
Defining session variables  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .698
Defining application variables for ASP and ColdFusion  . . . . . . . . . . . . . . . . . . . . .  699
Using a variable as a data source for a ColdFusion recordset . . . . . . . . . . . . . . . . .700
Defining server variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701
Caching content sources  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .703
Changing or deleting content sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .704
Copying a recordset from one page to another page. . . . . . . . . . . . . . . . . . . . . . . . .705
About dynamic content sources
A dynamic content source is a store of information from which you can retrieve and display 
dynamic content for use in a web page. Sources of dynamic content include not only 
information stored in a database, but values submitted by HTML forms, values contained in 
server objects, values of JavaBeans properties, and other content sources.