Dreamweaver Architecture - MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Table of Contents

Advertisement

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
Participants Your server behavior extension inserts code blocks into the user's
document. A code block is a single, continuous block of script, such as 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
comprise one participant group.
For information about participants, participant groups, and how Dreamweaver
EDML files are structured, see

Dreamweaver architecture

When you use the Server Behavior Builder to create a Dreamweaver-specific extension,
Dreamweaver creates several files (EDML and HTML script files) that support inserting the
Server Behavior code into a Dreamweaver document (some behaviors also reference JavaScript
files for additional functionality). The architecture simplifies your implementation of the API
and also separates your runtime code from how Dreamweaver deploys it. This chapter
discusses ways of modifying these files.
Server behavior folders and files
The user interface (UI) for each server behavior resides in the Configuration/ServerBehaviors/
ServerModelName folder, where ServerModelName is one of the following server types:
ASP.NET_Csharp, ASP.NET_VB (Visual Basic), ASP_Js (JavaScript), ASP_Vbs (VBScript),
ColdFusion, JSP, PHP_MySQL, or Shared (cross-server model implementations).
Extension Data Markup Language
Dreamweaver generates two EDML files when you use the Server Behavior Builder: a group
EDML file and a participant EDML file corresponding to the names that you provide in the
Server Behavior Builder. The group file defines the relevant participants, which represent
code blocks, and the groups define which participants are combined to make an individual
server behavior.
322
Server Behaviors
tags.
<% ... %>
"Extension Data Markup Language" on page
322.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver 8

Table of Contents