The definition file for your connection type
109
The definition file for your connection
type
For each server model, there is a connection_includefile.edml file that defines the connection
type and maps the properties that are defined in the include file to elements in the
Dreamweaver interface.
Dreamweaver provides seven default definition files, one for each of the predefined server
models, as listed in the following table.
Dreamweaver uses the
quickSearch
and
searchPattern
parameters to recognize connection
blocks and the
insertText
parameter to create connection blocks. For more information on
EDML tags and attributes, and regular expression search patterns, see “Server Behaviors” in
Extending Dreamweaver
.
<participant name="connection_includefile" version="5.0">
<quickSearch>
<![CDATA[// HTTP=]]></quickSearch>
<insertText location="">
<![CDATA[<%
// FileName="@@filename@@"
// Type="@@type@@" @@designtimeString@@
// DesigntimeType="@@designtimeType@@"
// HTTP="@@http@@"
// Catalog="@@catalog@@"
Server model
Subfolder within the Configuration/Connections folder
ASP JavaScript
ASP_Js
ASP.NET CSharp
ASP.NET_Csharp
ASP.NET VBScript
ASP.NET_VB
ASP VBScript
ASP_Vbs
ColdFusion
ColdFusion
JavaServer Page
JSP
PHP MySql
PHP_MySql
NO
T
E
If you change the format of your include file or define an include file for a new server
model, you need to map the connection parameters with the Dreamweaver UI, Live
Data, and Preview In Browser. The following sample EDML file, which is associated with
the default ASP JS server model, maps all connection page variables with their
respective live values before sending the page to the server. For more information on
EDML and regular expression search patterns, see “Server Behaviors” in
Extending
Dreamweaver
.
000_DW_API_Print.book Page 109 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...