phpGUI - The Main-Window:

There are 5 main components in phpGUI: additionally - not as a part of the Main-Window, but created dynamically:
 
back to main page

List of Site-Definitions:

A site-definition is the beginning of all activities in phpGUI. You can do nothing at all without having created a site-definition. You do this by invoking the
Site-Definition-Dialog from the context-menu. The appropriate specification of server-data, remote and local paths is crucial to the functioning of phpGUI, so please read this guide carefully.

After having at least on site specified you can start working. Put the mouse pointer over one of the site-definitions:

You may...
Invoke the context-menu:
Click right mouse-button.
Upon an entry: doubleclick:
doubleclick once: select the site.
doubleclick once more: connect to the site.
Context-Menu:
To select a site means: Start working with that site. The associated project-directory will be loaded into the Project-Tree and other specifications for that site are activated.
To connect a site means: an FTP-login is performed.



The Project-Tree:

A web-site consists of three parts We call the local directory the Project-Directory, because every file of the project (the site) can be reached from this directory. That means that there are (may exist) subdirectories. You are free in organizing these subdirectories, the only prerequisite for phpGUI is that they all stem from (are subdirectories to) the Project Directory.

The Project Directory is specified in the
Site-Definition.
You can execute several actions upon the Project-Dir:
Doubleclick on a directory-icon:
The directory is opened.
Doubleclick on a '..'-icon:
The parent-directory is opened.
Click right mouse button in order to
The context-menu is displayed. ------>
Doubleclick on a file-icon:
That file becomes 'selected'.
Context-Menu:
What is happening on being 'selected' depends on the file-type:

All non-editable files produce an error-message. Non-editable files are files that are not HTML, not PHP and not images.

Editable files, that are not images are put into the Preview-Window.

Images are loaded into your favourite image-editor-program. At first time you are asked for what program you like to use.

Files of type .PHP?:
PHP-files are split into their funtions (the main-part becoming the 'main-function') and the functions are listed in the Function-Listbox.

Remember that the PHP-files must have their main-part before the functions in order to be processed by phpGUI.



The Preview-Window:

Though the Preview-Window is quite large its significace is rather small. When doubleclicking on a file-icon in the Project-Tree this file becomes displayed in that Preview-Window (in case of a PHP-file: only its main-part). In order to load it into an
Edit-Window you may doublclick into the Preview-Window, or click on the tab, which is on top of every loaded file.


List of PHP-Funktions:

If the file selected for editing is a PHP-file then this file gets 'broken-up' i.e. divided into its parts (main and funktions). To start editing a function you must doubleclick on it, which causes an
Edit-Window to be opened.


The Log-/Status-Window:

System-messages, hints, warnings and other messages are placed in this small listbox. After program termination the contents are saved in a file named 'phpGUI.log'.


The Edit-Window:

An Edit-Window contains a complete editable (ASCII) file or - in case of a PHP-file - either the main-part or one of the functions. Editing a PHP-file may thus result in serveral open Edit-Windows at the same time.

When requesting an upload (via context-menu or by pressing <CTRL>U) all Edit-Windows pertaining to a file are collected and the file is saved and sent to the remote site. The windows remain open.

Each Edit-Window has a status-line at the top. Its color is red except for PHP-functions, which are yellow).

You may at any time invoke the Context-Menu over the Edit-Window, where lots of auxiliary functions are at your disposal. They should all be self-explanatory.



The status-line contains two numbers: the current line and the total number of lines in the window.

In addition a progress-indicator is shown in the status-line, when an upload is being processed.

At any time while editing you may start an upload by by pressing <CTRL>U or selecting 'Upload <filename>' from the context menu. If the site is offline then a dialog appears asking you if a login (connect) shall be performed.


back to main page