 | Level: Intermediate Michael Galpin (mike.sr@gmail.com), Developer, eBay
11 Dec 2007 No matter what combination of technologies you prefer to work with as a
Web developer, Eclipse is a single integrated development environment (IDE) that can
increase your productivity. In Part 1 of this three-part "Web
development with Eclipse Europa" series, you saw how the latest release of Eclipse
— Europa — can be used to develop Java™ Web applications rapidly. Here
Part 2, we'll see how easy it is to develop PHP applications using a different set of
Eclipse plug-ins, collectively known as the PHP Development Toolkit (PDT). In this tutorial
This is Part 2 of a three-part tutorial series on developing Web applications with
Eclipse. So far, we've seen how easy it is to develop Web applications in the Java
language using the Eclipse IDE for Java EE Developers. The Java EE edition is really
just a collection of plug-ins running on the Eclipse Platform. In this tutorial, we'll
see how to develop PHP applications using a different set of Eclipse plug-ins,
collectively known as the PHP Development Toolkit (PDT). We'll also see a reprise of
some features in the Java EE Edition that are also part of the PDT.
Prerequisites
A background in Java programming is essential for getting the most out of this
tutorial. Familiarity with the Eclipse IDE is helpful, but not necessary.
System requirements
-
Eclipse Europa
- This tutorial uses Eclipse V3.3
(Europa).
-
Java Development Kit (JDK)
- This tutorial shows you how to develop Web applications using Java technology, so
you'll need the Java Development Kit (JDK) 5.0 or higher. Download V5.0 or V6.0.
-
Eclipse IDE for Java EE Developers
- You'll also need the Eclipse IDE for Java EE Developers.
-
Java Runtime Environment (JRE)
- To run Eclipse, you must have a JRE.
-
Apache Tomcat
- The application uses a Apache Tomcat as
its container.
-
MySQL V5.0
- The application uses MySQL V5.0 as its database.
-
Java Persistence API
- You will also need the Java Persistence API and, in particular, the OpenJPA implementation.
-
Eclipse PHP Development Toolkit (PDT)
- This tutorial shows you how to develop Web applications using PHP, so you'll need the
PHP Development Toolkit
You can get this as a set of plug-ins for an existing Eclipse installation. If you're
new to Eclipse, you can get an all-in-one installation that includes the Eclipse platform and the PDT plug-ins.
-
PHP
- You need PHP, so get the latest version, which at the time of this writing was V5.2.1.
-
Apache HTTP Server
- You need a Web server that integrates with PHP. This tutorial was developed using Apache V2.0.59.
-
Fancy PHP debugger
- You need a PHP debugger. We used the Zend Debugger
V5.2.10.
-
Operating system
- You need an operating system capable of running all of the above. We used Mac OS X
when creating this series, but you can use a modern version of Windows® or
Linux®, as well. Adjust locations of files accordingly.
Formats html, pdf
|  | |  |