Adobe 38040334 API Reference - Page 76
The database connectivity API, How to develop a new connection type
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 76 highlights
Chapter 8: The database connectivity API As a developer, you can create new connection types and corresponding dialog boxes for new or existing server models for Adobe® Dreamweaver® CS3. Then, when a user sets up a site to start building pages, he or she creates a new connection object after selecting the particular type of connection that you created. The user can select your new connection type in the following ways: • On the Application panel, the user can click the Plus (+) button and select Recordset. In the Recordset dialog box, the user can expand the Connection list box. • On the Database tab of the Databases panel, the user can click the Plus (+) button and select Data Source Name. How to develop a new connection type The following steps outline the process for creating a new connection type: 1 Create the layout for the connection dialog box. Create an HTML file that lays out the user interface (UI) for your connection dialog box. Name this file using the name of the connection (for example, myConnection.htm). For information about creating a dialog box, see Getting Started with Dreamweaver. Make sure this HTML file includes a reference to the JavaScript implementation file that you define in Step 2, "Create a JavaScript file that implements at least the following elements:" on page 72, as shown in the following example: Store this HTML file, which defines your connection dialog box, in the Configuration/Connections/server-model/platform folder (where the platform is either Windows or Macintosh).
![](/manual_guide/products/adobe-38040334-api-reference-b593776/76.png)