DP Utilities Package

The Utility Package contains components generally useful to application development but not specific to any one application. Nearly all DP applications will make use of at least one of the Utility components. Therefore it should be assumed that the Utility package is required for all other DP Packages and applications.

Some of the more interesting components provided in the package are listed below. For a complete list and documentation for each component see the Utility Package Component Catalog.

  • cfc_DepressedPress.Utility.DP_CFServer: This component abstracts CFServer-related functionality such as Verity Searching and Scheduled task management. It is most often used in the generation of installation and uninstallation scripts for DP applications.
  • cfc_DepressedPress.Utility.DP_Collection: This component abstracts the management of multiple component instances as a single unit. It provides member type validation and the basic framework to construct component caches.
  • cfc_DepressedPress.Utility.DP_Documentation: Contains methods and routines to parse and collect documentation information. It also provides parsing support for custom DPDocs which allow you to easily add arbitraty, but organized documentation information directly to your CFML files.
  • cfc_DepressedPress.Utility.DP_Paths: This very useful component provides methods for defining an application root (which may exist beneath the server-defined Web root) and retrieving both system (absolute) and relative paths to both the Application and the Web Roots. Leveraging this component well can make you application vastly more portable.
  • cfc_DepressedPress.Utility.DP_PersistenceInfo: This is the base component for defining persistence entities (Databases, LDAP servers, XML Files, etc). Much more information about this component (and it's more useful children) can be found in the tutorial on Building DP Brokers.

There are other components available to the Utility package and many more planned. All told the Utility Package will probably see the most growth of any of the Libraries.

15 Current Sessions; Time: 06:27:32 06-01-2009; Tick: 406