New Xdebug configuration manual. contributed by Ian MacLennan .
[phpeclipse.git] / net.sourceforge.phpeclipse.help / html / ar02s02.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Creating the Project</title><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"><link rel="start" href="index.html" title="Debugging in PHP Eclipse"><link rel="up" href="ar02.html" title="Creating a Project Using PHPEclipse"><link rel="prev" href="ar02.html" title="Creating a Project Using PHPEclipse"><link rel="next" href="ar02s03.html" title="Adding a Source File to the Project"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Creating the Project</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar02.html">Prev</a> </td><th width="60%" align="center">Creating a Project Using PHPEclipse</th><td width="20%" align="right"> <a accesskey="n" href="ar02s03.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="phpeclipse.creatingproject.creatingproject"></a>Creating the Project</h2></div></div></div><p>The first step is to actually create the project. To do this, click
2     on the File menu, mouseover 'New' and select 'Other...'.</p><div class="figure"><a name="phpeclipse.creatingproject.filenewother"></a><p class="title"><b>Figure 1. Creating a Project</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="filenewother.png" alt="Creating a Project"></div></div></div></div><p><br class="figure-break"></p><p>When the Window appears, open up the PHP section and select PHP
3     Project.</p><div class="figure"><a name="phpeclipse.creatingproject.phpproject"></a><p class="title"><b>Figure 2. Selecting PHP Project from the Wizard Selection List</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="phpproject.png" alt="Selecting PHP Project from the Wizard Selection List"></div></div></div></div><p><br class="figure-break"></p><p>When the New PHP Project window appears, select a name for your
4     project. If your workspace is not inside your webroot, it is recommended
5     to create your project in a directory that is. To do this, uncheck 'Use
6     default location' and enter an alternative path instead. When you have
7     entered a project name and a path, click the 'Finish' button to
8     continue.</p><div class="figure"><a name="phpeclipse.creatingproject.newphpproject"></a><p class="title"><b>Figure 3. New PHP Project Window</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="newphpproject.png" alt="New PHP Project Window"></div></div></div></div><p><br class="figure-break"></p><p>Eclipse will then create an empty PHP project for you. Your
9     workspace should now have a PHP project, similar to the figure
10     below.</p><div class="figure"><a name="phpeclipse.creatingproject.projectcreated"></a><p class="title"><b>Figure 4. Workspace with the New PHP Project</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="projectcreated.png" alt="Workspace with the New PHP Project"></div></div></div></div><p><br class="figure-break">The PHP Project has now been created and you can now start
11     adding files and source code to your project. Note the blue PHP icon in
12     the top right corner - this indicates that you are now in the PHP
13     Perspective. An Eclipse perspective is a customized environment that is
14     geared towards a certain task. There are certain things that are helpful
15     to have visible while coding in PHP, for example, and other things that
16     might be useful to have visible when coding Java, and still others that
17     are useful during debugging. The PHP Perspective is the perspective that
18     is used for writing PHP code.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ar02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ar02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Creating a Project Using PHPEclipse </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Adding a Source File to the Project</td></tr></table></div></body></html>