blob: 2be86006c1da0121721f1e0c2f4c950a630b3752 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp 8">
<title>Quick Start</title>
<link rel="StyleSheet" href="default.css" type="text/css">
<style type="text/css">
<!--
body { border-left-style:None;
border-right-style:None;
border-bottom-style:None;
background-color:Transparent;
border-top-style:None; }
-->
</style>
<style type="text/css">
<!--
body { border-left-style:None;
border-right-style:None;
border-bottom-style:None;
background-color:Transparent;
border-top-style:None; }
-->
</style>
<script type="text/javascript" language="JavaScript">
//<![CDATA[
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//]]>
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute;
left:0px;
top:0px;
z-index:4;
visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style>
<script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.gbWhTopic)
{
var strUrl = document.location.href;
var bc = 0;
var n = strUrl.toLowerCase().indexOf("bc-");
if(n != -1)
{
document.location.href = strUrl.substring(0, n);
bc = strUrl.substring(n+3);
}
if (window.setRelStartPage)
{
addTocInfo("Getting Started\nQuick Start");
addAvenueInfo("Getting Started","","basic_tutorial.htm");
}
document.write("<p style=\"text-align:left\"> ");
AddMasterBreadcrumbs("ide_help.htm", "", "&gt;", "Home", "pdt_table_of_contents.htm");
document.write("<a href=\"getting_started.htm\">Getting Started<\/a> &gt; Quick Start<\/p>");
if (window.setRelStartPage)
{
setRelStartPage("ide_help.htm");
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
//]]></script>
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5"><script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
//]]></script>
<div style="width: 100%; position: relative;" id="header">
<p align="right"><a
title="Documentation Survey" href="http://spreadsheets.google.com/viewform?formkey=dC1scEswTjFia2tDQ3Y5TVJBbkNQcWc6MQ">Documentation
Survey</a>
| <a href="javascript:crlf=&quot;&quot;;h=location.href;t=document.title;e = &quot;&quot; + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (e!=null) location=&quot;mailto:documentation@zend.com&quot; + &quot;?Subject= Feedback on PDT for page &quot; + escape(t) + &quot;&amp;Body=&quot; + escape(e).replace(/ /g, &quot;+&quot;) + crlf + &quot; &quot;; void 0"><span
style="background-color: #ffffff;">Submit Documentation</span><span
style="background-color: #ffffff;"> Feedback</span></a><span
style="background-color: #ffffff;"></span><span style="background-color: #ffffff;">
</span><span style="background-color: #ffffff;">|
</span><span
style="background-color: #ffffff;"><a title="View Latest Version and Get PDF Online"
href="http://www.zend.com/en/resources/zend-documentation/"
target="_blank">View Latest
Version and Get PDF Online</a></span></p>
</div>
<h1><a name="Top" id="Top"></a>Quick Start
</h1>
<p>The following Quick Start page will help newcomers and (even) our veteran
users familiarize themselves with this new version.</p>
<p>The Features covered in the Quick Start are:</p>
<table cellspacing="0" width="100%">
<col style="width: 50%;">
<col style="width: 50%;">
<tr style="vertical-align: top;">
<td style="width: 50%; padding-right: 10px; padding-left: 10px;"><a
href="#Workbench1">Workspaces</a></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 50%; padding-right: 10px; padding-left: 10px;"><p><a
href="#Creating">Creating a PHP Project</a> </p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 50%; padding-right: 10px; padding-left: 10px;"><p><a
href="#Creating1">Creating a PHP File</a></p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 50%; padding-right: 10px; padding-left: 10px;"><p><a
href="#bookmark">PHP Debugging</a></p></td>
</tr>
</table>
<h3><a name="Workbench2" id="Workbench2"></a>Workbench</h3>
<p>The Workbench is a window that displays <a href="http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/concepts/concepts-4.htm"
target="_blank">Perspectives</a>,
<a href="http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.user/gettingStarted/qs-02e.htm"
target="_blank">Views</a> and menu bars through which different operations
can be performed.</p>
<p>See the <a href="http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/gettingStarted/qs-02a.htm"
target="_blank">Workbench</a> topic in the Workbench User
Guide for more on using and customizing the Workbench.</p>
<div>
<p class="Note">Note:</p>
<p class="NoteText">Additional user
guides can be accessed from inside PDT
by going to <span style="font-weight: bold;"><b>Help | Help Contents</b></span>,
or from the Eclipse Online Documentation site (<a
href="http://help.eclipse.org/ganymede/index.jsp" target="_blank">http://help.eclipse.org/ganymede/index.jsp</a>).</p>
</div>
<p align="right"><a
href="#Top">Back to Top</a> </p>
<h3><a name="Workbench1" id="Workbench1"></a>Workspaces</h3>
<p>Workspaces are the files system location where all your projects are
created and stored.</p>
<p>You can use the default Workspace created by PDT
or from the menu bar go to File | Switch Workspace | Other to select a
different Workspace.</p>
<h3><a name="Creating" id="Creating"></a>Creating a PHP Project</h3>
<p>A project is a group of files and resources which are displayed in a
tree in the PHP Explorer view.</p>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">To create a new PHP project:</p>
<p>Go to the Menu Bar and select <span style="font-weight: bold;"><b>File
| New | PHP Project</b></span>.</p>
<p>-Or- In the PHP Explorer View, right-click and select <span
style="font-weight: bold;"><b>New | PHP Project</b></span>.</p></td>
</tr>
</table>
<p>See <a href="creating_php_projects.htm">Creating PHP Projects</a> for
more information.</p>
<p align="right"><a
href="#Top">Back to Top</a> </p>
<h3><a name="Creating1" id="Creating1"></a>Creating a PHP File</h3>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">To create a new PHP file:</p>
<p>Go to the Menu Bar and select <span style="font-weight: bold;"><b>File
| New | PHP File</b></span>.</p>
<p>-Or- in PHP Explorer view, right-click the folder in which you
want to create your file and select <span style="font-weight: bold;"><b>New
| PHP File</b></span></p>
<p>-Or- click the New PHP File icon on the toolbar <img src="new_php_file.png" alt="new_php_file.png" style="border: none;" width="23" height="24" border="0">.
This creates a file outside of a project.</p></td>
</tr>
</table>
<p>See <a href="file_creation.htm">Creating PHP Files</a> for more information.</p>
<p align="right"><a
href="#Top">Back to Top</a> </p>
<h3><a name="bookmark" id="bookmark"></a>PHP Debugging</h3>
<p>The Zend Debugger detects and diagnoses errors in PHP code situated
on local or remote servers:</p>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">To debug a PHP script situated
on your workspace:</p>
<ol type="1">
<li class="p" style="margin-left: -20px;"><p>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.</p></li>
<li class="p" style="margin-left: -20px;"><p>From the main
menu, select <span style="font-weight: bold;"><b>Run | Open Debug
Dialog</b></span><br>
-Or- right-click the file in PHP Explorer view and select <span
style="font-weight: bold;"><b>Debug As | Open Debug Dialog</b></span>.</p></li>
<li class="p" style="margin-left: -20px;"><p>To create a new
configuration, double-click the 'PHP Script' category.</p></li>
</ol>
<ol start="4" type="1">
<li class="p" style="margin-left: -20px;"><p>Enter
all relevant information and click Apply and Debug.</p></li>
</ol></td>
</tr>
<tr style="vertical-align: top;">
<td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
</table>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">&#160;</p></td>
</tr>
<tr style="vertical-align: top;">
<td style="width: 7.093%; padding-right: 10px; padding-left: 10px;"><p
style="font-size: 6pt;"><img src="ref_icon.png" alt="Instructions on how to complete a procedure" title="Instructions on how to complete a procedure" style="border: none;" width="28" height="33" border="0"></p></td>
<td style="width: 92.907%; padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">To debug a PHP Web page situated
on a server:</p>
<ol type="1">
<li class="p" style="margin-left: -20px;"><p>From the main
menu, select <span style="font-weight: bold;"><b>Run | Open Debug
Dialog</b></span> -or- right-click the file in PHP Explorer view
and select <span style="font-weight: bold;"><b>Debug As | Open
Debug Dialog</b></span>.</p></li>
<li class="p" style="margin-left: -20px;"><p>To create a new
configuration, double-click the 'PHP Web Page' category.</p></li>
<li class="p" style="margin-left: -20px;"><p>Enter the required
information and click <span style="font-weight: bold;"><b>Apply</b></span>
and <span style="font-weight: bold;"><b>Debug</b></span>.</p></li>
</ol></td>
</tr>
<tr style="vertical-align: top;">
<td colspan="2" style="width: 100%; padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
</table>
<p>Debugging Preferences can be configured from the <a href="debug.htm">Debug
Preferences page</a>, which can be accessed from <span style="font-weight: bold;"><b>Window
| Preferences | PHP | Debug</b></span>.</p>
<p>See <a href="debugging_concept.htm">Debugging</a> for more information.</p>
<p align="right"><a
href="#Top">Back to Top</a> </p>
<h3><a name="Remote_Systems_Explorer_(RSE)"></a>Remote Server Explorer
(RSE)</h3>
<p>RSE (Remote Server Explorer) provides transparent access to remote resources,
including the upload and download of files.</p>
<ol type="1">
<li class="p"><p>To configure a new connection, open the Servers View,
situated at the bottom of the page, click the Connections node and
from the right-click menu select <span style="font-weight: bold;"><b>New
| New Connections.</b></span></p></li>
<li class="p"><p>Use the New Connection dialog to choose the connection
type configure your settings and save.</p></li>
</ol>
<p>To learn more about working with RSE, see Working
with Remote Server Explorer.</p>
<p align="right"><a
href="#Top">Back to Top</a> </p>
<h3><a name="Perspectives" id="Perspectives"></a>Perspectives of Interest</h3>
<p>To open a perspective go to <span style="font-weight: bold;"><b>Window
| Open Perspective</b></span>, select &quot;Other&quot; to view a full list
of perspectives.</p>
<ul type="square">
<li><p>PHP (default) - <span style="font-weight: normal;">This is the
perspective that will open by default in PDT
. It allows you to manage and create PHP projects and files.</span></p></li>
<li><p>PHP Debug - <span style="font-weight: normal;">Allows you to
manage and track the debugging process.</span></p></li>
<li><p>CVS / SVN Repository Exploring - <span style="font-weight: normal;">Allows
you to manage and view your source control.</span></p></li>
</ul>
<p class="ListBullet1">See <a href="php_perspectives_and_views.htm">PHP
Perspectives and Views</a> for more information.</p>
<p class="ListBullet1" align="right"><a
href="#Top">Back to Top</a> </p>
<table cellspacing="0" width="100%">
<col style="width: 7.093%;">
<col style="width: 92.907%;">
<tr style="vertical-align: top;
height: 16px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
<tr style="vertical-align: top;
height: 35px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;"><img src="link_icon.png" alt="link_icon.png" style="border: none;" width="32" height="40" border="0">
</p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p
style="font-weight: bold;">Related Links:</p>
<p><a href="debugging.htm">Using the Debugger</a></p>
</td>
</tr>
<tr style="vertical-align: top;
height: 19px;">
<td style="width: 7.093%; padding-right: 10px;
padding-left: 10px;"><p
style="font-size: 6pt;">&#160;</p></td>
<td style="width: 92.907%;
padding-right: 10px; padding-left: 10px;"><p>&#160;</p></td>
</tr>
</table>
<div style="width: 100%; position: relative;" id="footer">
<p style="text-decoration: underline; "
align="center">PHP Development
Tools</p>
</div>
<script type="text/javascript" language="javascript1.2">//<![CDATA[
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
highlightSearch();
//-->
//]]></script>
</body>
</html>