Chapter 18: Data sources
The Adobe Dreamweaver CS3 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()
Data source files are stored in the Configuration/DataSources/ServerModelName folder.
Dreamweaver currently supports the following server models: ASP.NET/C#, ASP.NET/Visual-
Basic, 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
Configuration/DataSources/ServerModelName
Configuration/DataSources/ServerModelName
Configuration/DataSources/ServerModelName
How data sources work
Dreamweaver users can add dynamic data by using the Bindings panel. The dynamic data objects
that are shown on the Plus (+) menu are based on the server model that is specified for the page.
For example, users can insert recordsets, commands, request variables, session variables, and
application variables for ASP applications.
in the Dreamweaver API Reference).
File
Description
datasourcename.htm
Specifies the name of the data
source and where to find the
supporting JavaScript files.
datasourcename.edml
Defines the code that
Dreamweaver inserts into the
document to represent the data
source value.
datasourcename.js
Contains the JavaScript functions
to add, insert, and delete the
necessary code into a document.