Progress
ADM 2 Guide
Planning Issues
Before you use the New ADM Class tool, you must consider some planning issues for questions that will arise during its use. Be sure to resolve these issues before you use this tool to create your new class:
- Decide where to put your new class files at design time. Since an ADM class is a collection of files, most of which are include files, and other files will reference the location of these include files, you might want to have a standard location in which to put all of the new class files. The New ADM Class tool (described later in this chapter) will prompt you to enter the name of the directory where you want your new class files to be written. Progress Software Corporation recommends that you follow the convention of the standard ADM class files and create an
src\adm2
directory for your source files and anadm2
directory for your.r
files in your working directory.- Think about how to name your class files. The New ADM Class tool will automatically generate the filenames based on the naming convention used for the standard ADM class files that are shipped with Progress. Progress Software Corporation recommends that you use the same convention with your new class files.
- The New ADM Class tool will automatically create a
custom
subdirectory under the source directory that you specify. This subdirectory will hold all of the custom files or hooks that the standard ADM class files reference to allow the end user to customize the class. These files are a necessary part of the class structure, even if you do not plan to use them.Remember that you cannot change the filenames and relative paths of a class once the AppBuilder generates the files. You must be careful to create a development environment that is consistent with the environment and file structure in which you plan to deploy your applications.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |