Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서

다운로드
페이지 504
483
APPENDIX
The Shared Folder
The Shared folder is the central repository for utility functions, classes, and images that are 
commonly used by all extensions. Any extension can reference the files in the Shared folder’s 
subfolders, and you can add custom common utilities to the ones already provided by 
Macromedia Dreamweaver 8. The multiple user Configuration folders installed for users on 
Windows XP, Windows 2000, and Macintosh OS X also contain a Shared folder for 
individual customizations. For example, when you install an extension from the Macromedia 
exchange, you might notice that the new extension adds contents to your user Configuration/
Shared folder rather than the Dreamweaver application Configuration/Shared folder. For 
more information on the Dreamweaver Configuration folders on a multiuser computer, see 
.
The Shared folder contents
The Shared folder has subfolders that contain files shared by multiple extensions, including 
functions for browsing a user’s folder system, inserting a tree control, creating editable grids, 
and other features.
In addition to looking at the JavaScript files in the Shared folder, you should also search for 
HTML files in the Configuration folder that include these JavaScript files so that you can 
investigate how they are used.
Generally, you use the functions and resources in the Common and Macromedia (MM) 
folders or add resources to the Common folder for use in new extensions. You should always 
look in the Shared/Common/Scripts folder first for utilities and functions. These functions 
and utilities are the most current and comprise the formal interface to the Shared folder. Use 
files in other folders at your own risk because they might be out of date.
Specifically, the Shared folder contains the following useful folders.
NO
TE
The JavaScript files in the Shared folder have comments within the code that provide 
details about the functions they contain.