

|
|
DP Libraries Setup: InstallationThe DP Libraries are provided as a single ZIP archive containing all of the libraries and associated materials. Instructions for installing and using this archive follows. 1) Obtain the LibrariesThe latest archive (in .ZIP format) will always be available on the DP Libraries History and Archives page. This page will provide links to all iterations of the Libraries and an overview of their change history. 2) Set up your MappingAll of the CFC (ColdFusion Components) Packages reside in a folder named "cfc_DepressedPress" and a ColdFusion mapping (set up in, you guessed it, the ColdFusion Administrator) to that folder is required. (I'm not pleased that a mapping is required, but that's something better taken up with Macromedia. Suffice to say that the code makes use of CFC type validation, multiple packages and other aspects which make a mapping pretty much inevitable.) 3) Placing FilesThe ZIP-format archive will contain the following directories:
4) Configuration (Installation/Uninstallation)Some packages or applications will require that an installation script (normally to set up the persistence entity) be run before using them. Such scripts will normally be found in an "Installation" folder in the archive. These scripts should be examined before they are run to ensure that the proper persistence entity (database) is selected and to modify any configuration options that may be present. General installation services for each Library is provided by a configuration CFC named for the package (for example the Framework Package is installed and uninstalled via the "FrameworkConfiguration.cfc" and the Security package uses the "SecurityConfiguration.cfc"). These CFCs can be accessed directly (using the provided installation scripts as guides) to create your own complex installation and uninstallation routines. 5) Running/Testing the CodeMost DP Libraries will have a coresponding folder in the Web folder of the archive. This folder will contain any test code, sample applications or installation materials provided. A file named "Index.cfm" is generally provided as a starting point. Complex systems will usually contain at least one complete sample interface (which you can modify) while simpler system might just contain some sample scripts you can explore. |