4. Installation
Download latest revision from Eclipse website
(http://www.eclipse.org/pdt/downloads)
▹ All in one (recommended):
provides everything you need to run PDT.
▹ PDT Feature / Update Manager:
extends an existing Eclipse, but all dependencies PDT
relies on needs to be installed first.
Extract archive
Copy to favorized location
(e.g. /usr/local/bin/ or another location in your
application path)
6. Views & Perspectives
Views or Tabs
(Window > Show View)
▹ Viewport providing specific information and/or
functionality
Perspective
(Window > Open Perspektive)
▹ Arrangement of Views:
PHP Perspektive contains e.g. 'PHP Explorer',
'Outline' and 'Project Outline'
16. Code completion (IV)
(Code Assist)
Documentation hint
▹ declaring the name of a class to be instantiated as
the type of the 'local' class var will enable Eclipse
to resolve the methods of the instantiated class:
class docuDb { class docuHint {
private function connect() { /**
return mysql_connect_db(); * @var docuDb Database handling
} */
} private $dbHandler = NULL;
private function connectToDB() {
$this->dbHandler = &new docuDb();
$dbh = $this->dbHandler->connect();
}
}
17. External Tools Framework
Enables Eclipse to run ,stand-alone'
applications
Two broad classes of external tools are
available:
▹ Ant build files
▹ Everything else
19. External Tools Framework (III)
Loaction
Linux / Mac OsX: points to the
phpDocumentor installation
Windows: points to the PHP executable
Working directory
directory to store temporary data
Arguments
Linux/ Mac OsX: command line parameters
to be passed to phpDocumentor.
Windows: path to the phpDocumentor
installation and command line parameters
(e.g.: quot;D:xamppphpphpdocquot; -c quot;$
{project_loc}/doc/tech/config/phpdoc.iniquot;
)
29. Subclipse (conflict handling)
Integrated (diff-) editor to resolve conflicts
Support for merging changes which do not
conflict
Preview on the checkout to find conflicts
before updating the sources
32. License
This set of slides and the source code included in
the download package is licensed under the
Creative Commons Attribution-Noncommercial-
Share Alike 2.0 Generic License
http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en