Server behavior terminology

The following terms are commonly used in association with server behavior:

Server behaviors extension

The server behaviors extension is the interface between server-side code and Dreamweaver. A server behaviors extension consists of JavaScript, HTML, and Extension Data Markup Language (EDML), which is XML that is created specifically for extension data. Examples of these files reside in your installation folder in the Configuration/ServerBehaviors folder, arranged according to server model. When you write script for an extension, use the dwscripts.applySB() function to instruct Dreamweaver to read the EDML files, retrieve the components of your extension, and add the appropriate code blocks to the user document.

Server behavior instance

When Dreamweaver adds code blocks to a user document, the inserted code constitutes an instance of the server behavior. The user can apply most server behaviors more than once, which results in multiple server behavior instances. Each server behavior instance is listed in the Server Behaviors panel of the Dreamweaver interface.

Runtime code

Runtime code is the set of code blocks that are added to a document when a server behavior is applied. These code blocks usually include some server-side code, such as ASP script that is enclosed in <% ... %> tags.

Participants

Your server behaviors extension inserts code blocks into the user document. A code block is a single, continuous block of script. For example, a server-side tag, an HTML tag, or an attribute that adds server-side functionality to a web page. An EDML file defines each code block as a participant. All the participants for a given server behavior make up one participant group.

 For information about participants, participant groups, and how Dreamweaver EDML files are structured, see Extension Data Markup Language.

Get help faster and easier

New user?