[ Zend Studio 4.x - 5.x ]
[ All operating systems ]
Zend Development Environment (ZDE) allows working with individual files (just like any ordinary editor) or with a ZDE Project. A ZDE project is a collection of one or more directories from the physical file system tree and/or one or more individual files. This article explains how to work with projects in the Zend Development Environment.
The advantage of working with a ZDE project instead of individual files is that the Project tab on the left window on ZDE provides efficient navigation among the various files and folders and easy access to all the PHP classes and functions that are defined in the project files.Another advantage is that when working with ZDE projects the CVS integrated functionality is enabled. You can checkout, update, commit, etc. the files/directories of the project. Finally, when a PHP file is including a different file using the include(), include_once(), require() or require_once() functions ZDE will try to locate the file among the project files according to the included file's path so as to verify that the statement is valid.
In order to create a new project, go to Project | New Project or right-click inside the Project window and select New Project. A simple wizard will help you to create a new project.
In order to add files to the project, first the file should be created and saved, then right-click the editor window or the tab with the file name below the editor window and select the Add to Project option. The file will be added to the root of the Project tree.
In order to add a directory (and its sub-directories), go to Project | Add to Project or right-click on the Project window (on the left) and select the Add to Project option. A dialog box, which allows you to choose a directory (one or more) will be displayed. Once the directory was chosen it will be added to the root of the project tree.
In order to remove an individual file or a directory from the project root, right-click on the file or directory that you wish to remove and select the Remove From Project option.
Excerpt: This article explains how to work with projects in the Zend Development Environment.
Original Post Date: 2009-05-19 21:11:20
This article explains how to work with projects in the Zend Development Environment.