PHP Project Customizer UI Spec

Author: Leon Barnard
Date: 2008/27/03
Version: DRAFT

This document is a specification of the NetBeans IDE Project customizer for PHP Projects. This document applies to the Preview Release only.

Table of contents:

Use Cases and Scenarios

Customizing Sources

The user has already created a PHP project and would like to make changes to the location or encoding of the source files.

Scenario:

  1. The user right-clicks on the PHP project node and selects "Project Properties" to bring up the Project customizer. The "Sources" node is selected by default.
  2. The Project Folder is shown as a read-only field for reference. The current sources folder location is shown below the Project Folder field. The user can customize the location by clicking the "Browse..." button or by selecting from a list of known web server document root folders.
  3. If the user wishes to copy files from the sources folder to another location, they may use a checkbox below the Sources Folder field to do so.
  4. The current project URL will be listed next and will be editable.
  5. The user can also change the encoding of files in the project by choosing appropriate styles from a drop-down list box.

Visualization:

Sources node

Customizing Include Paths

The user has already created a PHP project and would like to add one or more PHP Include paths to the project. Include paths allow the user to reference variables from other files and are very commonly used in PHP projects.

Scenario:

  1. The user right-clicks on the PHP project node and selects "Project Properties", then clicks the "PHP Include Path" node from the Project customizer.
  2. The user is presented with several buttons allowing them to add include paths from various places:
    • Add Folder
    • Add from php.ini
  3. The user can also remove include paths by clicking the "Remove" button.
  4. Since the order that include paths are specified in matters, users will also be able to reorder the list with "Move Up" and "Move Down" buttons.

Visualization:

Include Paths node

Customizing the Command Line

The user has already created a PHP project and would like to change the command line interpreter, either for the selected project or for all projects.

Scenario:

  1. The user right-clicks on the PHP project node and selects "Project Properties", then clicks the "Command Line" node from the Project customizer.
  2. If no changes to the command line interpreter have been made, a radio button labeled "Use Default" will be checked and the default location of the command line interpreter will be shown. Clicking "Configure..." will open the PHP global options dialog, where the user can change the default PHP command line interpreter. This change will affect any other PHP projects that the user has created.
  3. If the user wishes to use a different command line interpreter for the selected project, while leaving the defaul interpreter unchanged, they can select "Set for this Project". They can either locate the file directly by using the "Browse..." button or have the IDE search for installed interpreters by using the "Search..." button.

Visualization:

Command Line node

Project Features

About this Project

ui was started in November 2009, is owned by Jiří Kovalský, and has 44 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close