Macromedia dreamweaver 8-using dreamweaver Manual De Usuario

Descargar
Página de 1030
668
Chapter 31:  The Workflow for Dynamic Page Design
For information on databases, and the procedures needed to create a database connection, see 
the following chapters:
,” 
Adding dynamic content to a web page
After you define a recordset or other data source, and add it to the Bindings panel, you can 
insert the dynamic content the recordset represents into the page. The Dreamweaver menu-
driven interface makes adding dynamic content elements as easy as selecting a dynamic 
content source from the Bindings panel, and inserting it into an appropriate text, image, or 
form object within the current page.
When you insert a dynamic content element or other server behavior into a page, 
Dreamweaver inserts a server-side script into the page’s source code. This script instructs the 
server to retrieve data from the defined data source and render it within the web page.
To place dynamic content within a web page, you can do one of the following:
Place it at the insertion point in either Code or Design view.
Replace a text string or other placeholder.
Insert it into an HTML attribute. For example, dynamic content can define the src attribute 
of an image or the value attribute of a form field.
For detailed procedures on adding dynamic content to a page, see the following chapters:
Enhancing the functionality of a dynamic 
page
In addition to adding dynamic content, Dreamweaver lets you easily incorporate complex 
application logic into web pages by using Server behaviors. Server behaviors are predefined 
pieces of server-side code that add application logic to web pages, providing greater 
interaction and functionality. The Dreamweaver server behaviors allow you to add application 
logic to a website without having to write the code yourself. The server behaviors supplied 
with Dreamweaver support ColdFusion, ASP, ASP.NET, JSP and PHP document types.