Project File A project file is an XML file which stores database information and settings of a particular 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 a project file for each site you work with. Like other XML document, project file is human-legible. You should be able to open a project file in any text editor. With a basic understanding of XML, you should be able to read an XML file and change the settings. Each template object is represented by an XML node in the project file. The object properties are saved as attributes of the node. The property name is same as the attribute name. XML documents can contain foreign characters, it requires encoding so the data can be read by XML parser properly. The encoding of the project file is auto-detected by our products 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: HKEY_CURRENT_USER\Software\<product name>\<version>\Settings
Project Name Each project file has a project name. By default the file name (without extension) of the project file is used as project name. Before you name your project file when saving it for the first time, a temporary name, Project<n>, where n is a number, is used. 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 [Save As...] is used, the project name is changed to same as the new project file name. 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. If [Save a Copy...] is used, 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 project files will still work with each other like they are generated from the same project file. If you use IIS (Internet Information Services), our products 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. Therefore, if you want to create a virtual directory with a specific name, you can change the project name using [Save As...] first. Alternatively, enter your [Virtual directory alias] in the Generate Setup page. (See Generate Setup) How to Check the Project Name of a Project File There are 2 ways to check the project name:
After viewing the demo site, you may want to open the demo projects and see how the projects are setup. The demo projects are installed at "projects" subfolder under your installation folder, i.e. typically "C:\Program Files\PHP XMLMaker\projects". If you have installed PHP XMLMaker at another folder or you use non English version of Windows, the path may be different. To use the demo projects:
Also See:
|
©2008 e.World Technology Ltd. All rights reserved. |