Zend Studio
How to create PDF Documents with Zend Framework
First released in 1993, Adobe’s Portable Document Format (PDF) is now ubiquitous. It’s a great way to create printable documents that work across multiple platforms without any loss of fidelity, and it also supports interactive features like bookmarks, annotations and forms. PHP comes with a number of options to help developers dynamically generate PDF files [...]
Mirroring the Zend Server Repositories
Zend Server, Zend Server CE and Zend Server Cluster Manager for Linux are provided through DEB And RPM repositories. This has multiple benefits; one of them is the ability to easily create an internal mirror of the Zend Server repositories, using common tools available on virtually all Linux machines. Why Mirror? There are several good [...]
How to Create a PHP Project in Zend Studio 8.0
To create a new PHP Project: Go to File Menu and select New | PHP Project. -Or- In PHP Explorer view, right-click and select New | PHP Project. The New Project wizard will open. Enter a name for your new project into the Project Name field. Click Finish to complete the creation of your project. [...]
How to Create a PHP File under Zend Studio
Creating a PHP file within Zend Studio will automatically add PHP tags to the script, and allow you to fully utilize Zend Studio’s PHP functionality. To create a new PHP file within a project: In PHP Explorer view, right-click your project and select New | PHP File -or- select your project and go to File Menu | New | PHP File. Enter the File Name and click Finish. An [...]
How to debug a PHP script in Zend Studio
To debug a PHP script situated on your workspace: Set breakpoints at the relevant locations in your script by double-clicking the Marker Bar (located at the left of the editor area) at the relevant line. A blue ball appears to indicate that a breakpoint is set. From the main menu, select Run | Open Debug Dialog -Or- right-click the file [...]
How to configure access to a repository through Zend Studio
Zend 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 Zend Studio: On the main menu go to Window | Show View | Other. Select either CVS or SVN [...]
How to create and run a PHPUnit Test Case in Zend Studio
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: In PHP Explorer view, right-click the file you want to test [...]
How to add a new SVN repository under Zend Studio
To add a new SVN repository: Open the SVN perspective by going to Window | Open Perspective | Other | SVN RepositoryExploring. In the SVN Repositories view, click the Add SVN Repository button on the view’s toolbar -or- right-click within the SVN view and select New | Repository Location. The Add SVN Repository dialog will open. Enter the information required to identify and connect to the repository [...]
How to upload a project to your SVN repository location under Zend Studio
The following steps demonstrate how to upload a project to your SVN repository location: Create a new PHP project called “MySVN Projectâ€. Within the project, create a PHP file called “SVNFile1″ with the following code: <?php //This is a new file ?> In PHP Explorer View, right-click your project and select Team | Share Project. A Share Project dialog will open. From the repository list, select SVN [...]
How to check out projects from SVN into your workspace in Zend Studio
The following steps demonstrate how to check out (import) projects from SVN into your workspace: Delete the ‘MySVN’ project from from your workspace in order to simulate being a new user who has not previously had access to this file. Note: Deleting the project from your workspace will not delete it from SVN. Go to File Menu and select Import | Projects from SVN. [...]
