Chapter 16. Data Sources

 < Day Day Up > 

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.


     < Day Day Up > 


    Developing Extensions for Macromedia Dreamweaver 8
    Developing Extensions for Macromedia Dreamweaver 8
    ISBN: 0321395409
    EAN: 2147483647
    Year: 2005
    Pages: 282

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net