Accessibility

Table of Contents

Integrated PHP and Flex development with Zend Studio and Flex Builder

Installing the software

If you don't have Flex Builder or Zend Studio for Eclipse installed, you can download trial versions for free. To download Zend Studio for Eclipse, simply visit the Zend site.

On the web page that appears, click the Try link associated with Zend Studio for Eclipse, as shown in Figure 1. On the next page, click Studio for Eclipse, and then select your operating system from the drop-down box (Figure 2). Click Download.

Choose Zend Studio for Eclipse

Figure 1. Choose Zend Studio for Eclipse

Choose Studio for Eclipse, and then
select your operating system

Figure 2. Choose Studio for Eclipse, and then select your operating system

After you click Download, a Zend user form opens. If you already have a Zend account, enter your details and click Log In. The download should begin automatically. If you do not have a Zend account, create one and repeat these steps.

Once the download is complete, run the installer. This article assumes a default installation. To complete a default installation, accept the Zend Studio License and choose Next through the installer steps. Before the actual installation begins, you will be presented with a pre-install summary. Figure 3 illustrates the pre-install summary for a default, complete installation on Windows.

The pre-install summary for a
default installation

Figure 3. The pre-install summary for a default installation

Click "Install" at the pre-install summary screen, and the installation begins. Once Zend Studio installation is complete, you'll need to download the Eclipse plug-in version of Flex Builder 3.0.1. Flex Builder Plug-in 3.0 will not install alongside Zend Studio, so be sure to obtain version 3.0.1.

If you have an Adobe username and password, log in as prompted. If you do not have an Adobe account, you'll need to create one and return to this page. On the page that appears after login, choose your language and platform, then click the "Download" button. The download begin should automatically.

Once the download is complete, double-click the Flex Builder Eclipse Plug-in installer to launch the installation wizard. Again, this article assumes a default installation. To implement the default installation, accept the Flex Builder License and choose Next through the installer steps. When you get to the step which asks you to specify your existing Eclipse installation, choose the folder where you installed Zend Studio. In a default Windows installation, the path is C:\Program Files\Zend\Zend Studio for Eclipse – 6.1.0. Before the actual installation begins, you will be presented with a pre-installation summary. Figure 4 illustrates the pre-installation summary for a default installation on Windows.

The Flex Builder Plug-in
Pre-Installation Summary

Figure 4. The Flex Builder Plug-in Pre-Installation Summary

Click "Install" to continue the installation, and after a few moments you will be presented with an error window titled "Product Extension not established automatically." This error is depicted in Figure 5.

The Flex Builder Plug-in
Installation Raises an Error

Figure 5. The Flex Builder Plug-in Installation Raises an Error

You will resolve this error by configuring this extension manually in a few moments. For now, click "OK" and the installation will complete. Click "Done" to close the installer, then open Zend Studio.

Once inside Zend Studio, select "Help" from the main toolbar and choose "Software Updates → Manage Configuration..." as shown in Figure 6.

Choose "Manage Configuration..." to set up the Flex Builder Plug-in

Figure 6. Choose "Manage Configuration..." to set up the Flex Builder Plug-in

In the dialog box that appears, choose "Add an extension location" in the right pane, as depicted in Figure 7.

Choose "Add an Extension Location"

Figure 7. Choose "Add an Extension Location"

Zend Studio for Eclipse will then prompt you for the location of the extension to be added. Choose the folder where you installed the Flex Builder 3.0.1 Eclipse Plugin. In a default Windows install, this is C:\Program Files\Adobe\Flex Builder 3 Plug-in\eclipse or /Applications/Adobe Flex Builder 3 Plug-in/eclipse on OS X. Figure 8 depicts this selection.

Choose the folder where you
installed Flex Builder Plug-in 3.0.1

Figure 8. Choose the folder where you installed Flex Builder Plug-in 3.0.1

Once you have selected your Flex Builder Plug-in 3.0.1 installation folder, click "OK." Zend Studio will then ask you to restart. Choose "Yes" and wait for the application to quit and launch again. You will now be able to access all the Flex Builder features within Zend Studio.