Creating a Project

From RadPHP XE2 Documentation
Jump to: navigation, search

Summary: Describes how to create a PHP project To create a new project

  • Choose

FilePathPDF.jpgNew Project PathPDF.jpgApplication.A project is created and displayed in the "Project Manager" with a default name. One default unit file for the form is also created.

  • Choose PathPDF.jpg

FilePathPDF.jpgSave Project As to open the "Save As" dialog box.

  • Browse to the location for the project files and type a name for the project file, using a  .php extension.


Click "Save".


The project is added to the "Project Manager".

Note:

Alternatively, you can click "New" on the "Project Manager" toolbar to create a new project. Select PathPDF.jpgApplication from the "New Items" dialog box, then save the project file as described above.

A project is a collection of files, a project always belong to a project group, if a project is created or opened, a default project group will be created for it.

If the Environment Option, Save Desktop is set, saving a project saves the opened files and their current editing positions, which must be restored the next time the project is opened. Along with the file that was selected when the save operation was performed.

Closing a project, must check if any of the files that make up the project has been modified, and if so, request to save the project. Saving a project, saves all the files that make up the project if they had been modified and also saves the project file (.phprj), which is an ini file, containing the list of the files that make up the project.

Saving a project with a different name, must update the project manager with the new name, and if the path for the project changes, the files contained by the project must reflect the change by updating their paths, as they are relative to the project path.

See also

Opening a Project

Adding and Removing Files

Adding Packages

Adding Multiple Components to an Existing Package

Personal tools