Macromedia dreamweaver 8-extending dreamweaver User Manual

Page of 504
379
16
CHAPTER 16
Data Sources
The Macromedia Dreamweaver 8 Data Sources API functions let you add data sources, which 
appear in the Plus (+) menu in the Bindings panel (for related information, see the function 
dreamweaver.dbi.getDataSources()
 in the Dreamweaver API Reference). 
Data source files are stored in the Configuration/DataSources/ServerModelName folder. 
Dreamweaver currently supports the following server models: ASP.Net/C#, ASP.Net/
VisualBasic, ASP/JavaScript, ASP/VBScript, Macromedia ColdFusion, JSP, and PHP/
MySQL. Within each server model subfolder are HTML and EDML files that are associated 
with the data sources for that server model.
The following table lists the files you use to create a data source:
Path
File
Description
Configuration/DataSources/
ServerModelName
datasourcename
.htm
Specifies the name of 
the data source and 
where to find the 
supporting JavaScript 
files.
Configuration/DataSources/
ServerModelName
datasourcename
.edml
Defines the code that 
Dreamweaver inserts 
into the document to 
represent the data 
source value.
Configuration/DataSources/
ServerModelName
datasourcename
.js
Contains the 
JavaScript functions to 
add, insert, and delete 
the necessary code into 
a document.