Mais conteúdo relacionado Mais de Bastian Feder (15) Eclipse Hands On - Handling external tools1. IBM Application Managed Services
Eclipse Hands On to PHP development
Using external tools
International PHP conference 2007 © 2006 IBM Corporation 2. IBM Application Managed Services
Who am I ?
Name: Bastian Feder
Age: 31 years
PHP: since 2002
Current occupation:
Techncal lead and the customer care
and the design and development of
process oriented intranet
applications written in PHP and
Perl.
2 Eclipse Hands on to PHP development © 2006 IBM Corporation 3. IBM Application Managed Services
Agenda
What is the ‚external tools‘ framework ?
How do I add external tools ?
Examples
– phpDocumentor
– phpBeautifier
References
3 Eclipse Hands on to PHP development © 2006 IBM Corporation 4. IBM Application Managed Services
What is the ‚external tools‘ framework ?
Enables Eclipse to run ‚stand-alone‘ applications
Two broad classes of external tools are available
– Ant build files
– Everything else
4 Eclipse Hands on to PHP development © 2006 IBM Corporation 5. IBM Application Managed Services
How do I add external tools ? (1/2)
Open external tools dialog from the ‚Run‘ menu
Double click on ‚Program‘
The new configuration section appears on the right
5 Eclipse Hands on to PHP development © 2006 IBM Corporation 6. IBM Application Managed Services
How do I add external tools ? (2/2)
Tabs
– Main
– Refresh
– Environment
– Common
Enter
– Name (e.g.; phpbeautify file)
– Location (path to the PHP interprter)
– Arguments (what to be done)
Variables
– ${resource_loc}
– ${project_loc}
6 Eclipse Hands on to PHP development © 2006 IBM Corporation 7. IBM Application Managed Services
Example
Live demonstration
– phpDocumentor
– phpBeautifier
(see: http://www.plog4u.org/index.php/Using_PHPEclipse)
7 Eclipse Hands on to PHP development © 2006 IBM Corporation 8. IBM Application Managed Services
References
Eclipse Tutorials
– http://www.plog4u.org/index.php/Using_PHPEclipse
PHP Development Project (PDT)
– http://www.eclipse.org/pdt/
Aptana
– http://www.aptana.com/
JSEclipse
– http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/
phpDocumentor
– http://pear.php.net/package/PhpDocumentor
phpBeautifier
– http://pear.php.net/package/PHP_Beautifier
8 Eclipse Hands on to PHP development © 2006 IBM Corporation 9. IBM Application Managed Services
? Bastian.Feder@de.ibm.com
9 Eclipse Hands on to PHP development © 2006 IBM Corporation