Zend Technologies is happy to release an Eclipse based version of the traditional Zend Studio.
The following Quick Start page will help newcomers and (even) our veteran users familiarize themselves with this new version.
The Features covered in the Quick Start are:
|
| |
|
|
|
Before launching, Studio will ask you to select a Workspace where all projects will be created and stored.
You can use the default Workspace suggested or click Browse to select a different Workspace.
See the Workbench User Guide for more on Workspaces.
When Studio is first launched, a Welcome Page will open containing links to actions and tutorials to help you get started with Studio, as well as information on Studio's features and functionality.
To start using Studio, close the Welcome Page
by clicking the X icon
in the Welcome tab in the top-left corner.
The Workbench is a window displaying perspectives, views and menu bars through which different operations can be performed.
See the Workbench User Guide for more on how to customize your Workbench.
A project is a group of files and resources which will be displayed in a tree in the Navigator and PHP Explorer views.
|
|
|
|
|
To create a new PHP project: Go to the Menu Bar and select File | New | PHP Project. -Or- In the PHP Explorer View, right-click and select New | PHP Project. |
New Project Wizard Note:
Leaving the 'Use Default' checkbox under the Project contents category selected will create a default library within the workspace, with the project name. Not using the default will allow you to add the contents to the directory of your choice, provided you have already created a directory before starting. (Recommended to prevent current project files from being stored with other project files).
|
|
|
|
|
To create a new PHP file: Go to the Menu Bar and select File | New | PHP File. -Or- In PHP Explorer view, right-click the folder in which you would like to create your file and select New | PHP File -Or- Click the New PHP File icon on the toolbar |
See Easy File Creation for more information.
The Zend Debugger detects and diagnoses errors in PHP code situated on local or remote servers:
|
|
|
|
|
To debug a PHP script situated on your workspace:
|
|
|
|
|
|
|
|
|
To debug a PHP Web page situated on a server:
|
|
|
|
Debugging Preferences can be configured from the Debug Preferences page, which can be accessed from Window | Preferences | PHP | Debug.
See the Debugging topic for more on Debugging.
Studio includes a built-in component for CVS (Concurrent Versions System) and SVN (Subversion).
Before accessing a repository, make sure that a CVS or SVN server is already configured on the host machine.
|
|
|
|
|
To configure access to a repository through Studio:
|
|
|
|
See the CVS or SVN topics for more information,
A PHPUnit is a testing framework to write and run tests on PHP code. A test file can be created for each class, function and file. PHPUnits allow PHP developers to incrementally build test suites to constantly review progress and detect unintended side effects.
|
|
|
|
|
To create and run a PHPUnit Test Case:
|
|
|
|
See PHPUnit Testing for more information.
Refactoring is the process of renaming or moving selected resources in a 'smart' way while maintaining all the relevant links between files and elements. Refactoring automatically makes all relevant changes to your code.
|
|
|
|
|
To move / rename a resource:
|
|
During the refactoring process, a preview screen will display showing the changes made. |
|
See the Refactoring topic for more information.
To open a perspective go to Window | Open Perspective, select "Other" to view a full list of perspectives.
PHP (default) - This is the perspective that will open by default in . It allows you to manage and create PHP projects and files.
PHP Debug - Allows you to manage and track the debugging process.
CVS / SVN Repository Exploring - Allows you to manage and view your source control.
Database Development - Allows you to view and manage your database content. Studio allows connection with several types of databases.
PHP/HTML WYSIWYG - Allows you to design, edit and preview your HTML/PHP files using drag and drop capabilities.
PHP Profile - Allows you "profile" and analyze file running times.
See PHP Perspectives and Views for more information.
|
|
|
|
|
Related Links: |
|
|
|