Projects
Prev
Next

Projects

Robert Nickel

András Mantia

Reviewer: Christopher Hornbaker
Reviewer: Fabrice Mous

New Projects

The Quanta Plus project wizard (Project->New Project...) makes project creation an easy task.


The Project Wizard.


The fields are pretty straight forward. It is best to fill them in from top to bottom. Filling in a project name will autocomplete all the folder structure for the rest of the project. All of the paths and author information fields can be configured later on clicking Project->Project Properties (Shift+F7).

General Project Settings

Name

Here you fill in the name for your project. For example, we will call ours “foo.” When you fill in Name, File is filled out for you automatically.

File

This is the name of the Quanta Plus project file. By default, it is the name of your project, but in lowercase letters and without spaces. It uses the extension webprj (for example, foo.webprj). This file is stored in the root of the project's Main Folder.

Server Settings
Protocol

Here you select the protocol you will be using to access you project. If your project is on the same machine that you are using Quanta Plus on, then leave the value at Local. The list of protocols shown here is dependant of your system setup. Available protocols include SSH, FTP, NFS, SMB, WebDAV, and others. The protocol list is powered by KDE's powerful KIOSlave architecture. This framework allows every KDE application to easily access remote information as if it is local to the machine.

Host

Here you fill in the server address of the machine you want to access, unless you are working through the Local protocol. Either a hostname (hostname.example.com) or an IP address (127.0.0.1) can go here.

User

User name for logging onto the remote machine. This is case-sensitive.

Password

Password for logging onto the remote machine. This is case-sensitive.

Port

Leave this field blank to use the default port for the protocol you are using. You may need to change this depending on your server's configuration.

Directory Settings
Main directory

This is the root folder where all of the project files and folders will be stored.

Templates directory

This is where the templates for this project will be stored. It is a relative path to the project and by default, it points to templates. If you have a common set of files that you use for several projects, then it may be useful to point this field to it, instead of to the default.

Toolbars directory

This is where the toolbars for this project will be stored. It is a relative path to the project and by default, it points to toolbars. If you have a common set of toolbars that you use for several projects, it may be useful to point this there instead of the default.

Project Sources
Add local or remote files

This allows you to get files from the local file system. You can choose multiple files or entire folders.

Use wget to download files from site

This option is great if you have static web content that you wish to download and modify. For server side scripting (for example, PHP, Python, etc..) you will have to get the files another way.

Insert Files in Project

Insert file from

Check this if you wish to include files found in the path of the Main Folder. Leave unchecked when starting a project from scratch.

Filters
Insert only markup, script and image files

Choosing this option will only insert markup, script, and image files into your project.

Insert files with the following mask

Choosing this option will display all files and folders within the Main Folder and allow you to be more specific with your choices.

Included files

This displays a list of the files in the Main Folder. You can choose the desired files for inclusion, by checking, or exclusion, by unchecking, in your project.

More Project Settings

Author

Insert your name (or alias) here.

Email

The address where you would like email regarding this project to go.

Project Defaults
Default DTD

Choose the markup language you will be working with the most within this project.

Default encoding

Choose the character encoding you wish the files in your project to be opened and saved with.

Use preview prefix

Check this to use a prefix for your previews. This allows you to set the path prefix to something other than your local file system. This is most useful for pages that contain dynamic content and are dependent on server processing (like PHP, JSS, Python, etc.). Simply type in the first portion of the address as it exists on that server and the filepath at the end will be complete by Quanta Plus. For example, if you have the domain bar.com and you are editing the index.html page, you could edit it on your remote machine (foo.bar.com), upload it to the server and press F6 to see the results from www.bar.com instead of your local file system.

Prefix

Enter the prefix you wish to use here.

Insert global templates

This makes a copy of the global templates in your projects folder tree.

Insert local templates

This makes a copy of the local templates in your projects folder tree.

The last screen of the new project wizard has 3 settings that can make your life easier. These settings are available for change from the Project->Project Properties menu tree on the Upload Profiles Tab or with the keyboard shortcut Shift+F7.

Configuring Projects

The project properties dialog looks like:


The general options page


Some of the items are the same as in the project wizard and are described in the section called “New Projects”. The extra items are described below.

General Project Settings

Exclude from project

A list of file names (wildcards can be used) that will be ignored when you do project related operations like Rescan Project Folder.

Exclude files listed in .cvsignore

A complementary option to the above one, also files listed in the .cvsignore file will be excluded from the project.

Default view

The project view that will be loaded when the project is opened. You can read more about project views in the section called “Project Views”.

Debugger

Select the debugger you want to use. Currently only Gubed is support. You can find more information about Gubed at http://gubed.sourceforge.net.The debugger plugin can be configured with the Options button. read the section called “Debugging in Quanta Plus to learn more about debugging.

Default view

The project view that will be loaded when the project is opened. You can read more about project views in the section called “Project Views”.

On the Upload Profiles page you can configure the upload profiles (see the section called “Upload profiles”), as well as enable the showing of a treeview with the content of the server for each profile by checking the Show a treeview for each profile checkbox.

On the Team Configuration page you can add, edit and remove members of the project as well as define a mailing list. Read the section called “Team Development” for details.

On the Event Configuration page you can Enable the event actions, add, modify and remove these actions. Event actions are executed when some predefined event occurs, like saving a file. See the section called “Event Actions” for details.

Using Projects

Project Files

By default Quanta Plus will open the last project accessed when launched. This behavior is not currently configurable.

To open another project, select Open Project... from the Project menu or the Open Project icon on the toolbar. The open project dialog will pop up and allow you to choose the project you wish. Projects have a webprj extension.

When closing Quanta Plus, your project file will be saved automatically. You will be asked to save any changes before exiting if Quanta Plus detects any changed files. This same behavior occurs if you load a new project.

The Project Tree View

The project tree view gives you uncluttered access to the files in your project. This is where you manage the files in the current project.

For files, a right mouse button click brings up the following menu:



These items are fairly self-explanatory and will be left to the reader for exploration.

Folders are similar but do not contain the Open and Open With... right mouse button menu items:



These items are left to the reader for exploration as well.

Uploading Projects

The Upload Project dialog:


The Upload Project dialog.


Profile name

This is where different profiles can be chosen. The profile contains information on where the uploaded files are to be placed. Read the section called “Upload profiles”.

New

This button allows you to create new upload profiles.

Edit

This allows you to edit the currently selected upload profile.

Remove

This allows you to remove the current profile. If only one profile is available the button is grayed out to prevent its removal.

Keep passwords in memory

The password is stored in memory and is lost as soon as the program is closed. This option is useful if frequent uploading of files is necessary and you do not want to use the more insecure “Store password on disc” option.

All

Select all files in your project for upload.

Modified

Select all modified files for upload.

None

Unselects all files in the list.

Invert

Selects/Unselects all files in the list.

Expand All

Expands all folders.

Collapse All

Collaspes all folders.

Update All

Refreshes list.

Proceed

Start the upload

Cancel

This will abort your transfer in progress or just exit out of the dialog if you change your mind before starting the upload.

Upload profiles

With Quanta Plus you can define multiple upload profiles and, in this way, upload your project (or parts of your project) to different servers. When you edit or create a profile you will face the following dialog:



Profile name

Enter the name you wish to give your profile here.

Host

This is the hostname of the server you are copying the files to. Either a fully qualified domain name, or an IP address is needed.

Protocol

Transfer protocol to use for this upload. Depending on your version of KDE this list will vary. At the very least you should be able to choose from FTP, file (that is, local) and NFS.

Port

Port for the transfer. Usually this will not need to be changed unless your network administrator is hosting a service on a port other than its well known port.

User

Username to use for authentication.

Password

Password to use for authentication.

Store password on disc

Depending on your level of paranoia, this is a time saving feature, or a danger. Use it at your discretion. The password is kept on disk as text in an obscured form, so it's not simple to read it, but anyone with programming knowledge can easily un-obscure it.

Path

This is the base path on the remote host that you will be copying files to.

Use as default profile

Allows you to mark the profile currently being viewed as the default.

Project Views

A project view is just a set of files and toolbars. You can have multiple views in a project, meaning that by simply changing the view you can load several files and toolbars which will replace the currently opened files and toolbars.

Views can be saved, opened, deleted using the Project menu or the Project Toolbar, accessible via Settings->Toolbars->Project Toolbar.

You can have a default view (loaded when the project is opened). See the section called “Configuring Projects”.

Prev
Next
Home


Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team