CMP File
CMP File is an XML file which stores database information and settings
of a particular CFMMaker project. It can be used as a good save-and-restart
point for the customization process and is also useful as a trace in case
of problematic generation. It is therefore a good practice to save an
CMP file for each Web site you are generating.
Like other XML document, CMP file is human-legible. You should be able
to open an CMP file in any text editor. With a basic understanding of
XML, you should be able to read an XML file and change the settings.
The encoding of the CMP file is auto-detected by CFMMaker according to
your computer regional setting. Generally, the detected encoding should
be compatible with your language. If not, you can override the auto-detected
setting by explicitly setting an encoding to the registry key "XMLEncodeCharSet"
under HKEY_CURRENT_USER\Software\CFMMaker\<Version>\Settings.
If you experience difficulties saving your project with the correct encoding setting, you may need to check your Regional and Language Options of your system. The language setting must match the encoding setting.
Project Name
Each CMP file has a project name. By default CFMMaker uses the file name
of the CMP file as project name. Before you name your CMP file when saving
it for the first time, CFMMaker uses a temporary name, Project<n>,
where n is a number. The project name is an important property, it is
used in the generated codes to identify your project.
When you want to create a new project based on an existing project, you
can use [Save As...] under the [Project] menu. If you want to create a
backup copy or another version of an existing project, use [Save a Copy...]
to save the file with another name. In the latter case, the project name
is not changed, so the project name is not same as the file name anymore.
However, with the same project name scripts generated from these different
CMP files will still work with each other like they are generated from
the same project file.
If you use IIS (Internet Information Services), CFMMaker can create virtual
directory for your project. The project name is used as virtual directory
alias as well as the path under the default Web site of IIS. If you want
to create a virtual directory with a specific name, you can save the XMP
file using that name first.
|