Eclipse – PHP Tool Integration (PTI) Sven Kiera, TWT Interactive GmbH
Sven Kiera Web Entwickler bei TWT Interactive GmbH in Düsseldorf PHP und Java seit 1998 PHP5 Zend Certified Engineer Certified MySQL 5.0 Developer Autor von PHP Tool Integration (PTI) Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PHP Tools Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PHP Tools PHPUnit PHP Depend PHP Mess Detector PHP_CodeSniffer PHP Copy/Paste Detector PHPDocumentor Phing … Sven Kiera: Eclipse – PHP Tool Integration (PTI)
„Einsatzgebiete“ von PHP Tools Konsole SVN Hooks Continuous Integration Server Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Unterstützung in Editoren / IDEs So gut wie nicht vorhanden Einzige Ausnahme PHPUnit Problem: Editoren / IDEs sind nicht in PHP geschrieben Alternative: manuelle Ausführung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Eclipse - PHP Tool Integration (PTI) Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Eclipse – PHP Tool Integration (PTI) Eclipse Plugins für Eclipse PDT 2.x und Zend Studio 7.x Ziel: Direkte Nutzung von PHP Tools in Eclipse PDT Aktuelle Unterstützung: PHP_CodeSniffer PHPDepend PHPUnit PHP Copy / Paste Detector PEAR Verwaltung inkl. aktueller PEAR Bibliothek Erweitert Eclipse DLTK External Checker um direkte Nutzung von PHP Skripten Open Source (EPL) Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI - PHP_CodeSniffer Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PHP_CodeSniffer PHP Tool zum ausspüren von Abweichungen vom Coding Standard Ausführung per Konsole Integration als SVN Hook Integration in Continuous Integration Server Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – PHP_CodeSniffer (v1.2.4) Manuelle Prüfung Automatische Prüfung per Validator Markierung von Fehler und Warnungen in Dateien Prüfung mit mehreren Standards Benutzung eigener Standards Filterung von Dateien und Sniffs Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI - Konfiguration Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Manuelle Prüfung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Fehlermarker Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Validator Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI - PHP Depend Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PHP Depend PHP Tool zur Generierung von Metriken Ausführung per Konsole Integration in Continuous Integration Server Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – PHP Depend (v0.4.0 DEV) Manuelle Prüfung Automatische Prüfung per Validator Konfiguration von Fehlerbereiche für Metriken Markierung von Fehler und Warnungen in Dateien Visuelle Anzeige der Metriken Anzeige von Graphen Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Konfiguration Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Manuelle Ausführung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Visuelle Anzeige Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Validator Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI - PHPUnit Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PHP Unit Bekannteste xUnit Test Framework zum Testen von PHP-Skripten Ausführung per Konsole Integration in Continuous Integration Server Einfache Integration in vielen Editoren und IDEs Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – PHPUnit (v0.4.0 DEV) Einfache Erkennung von Klassen und zugehörigen Tests Manuelle Prüfung Automatische Ausführung per Validator Markierung von Fehler und Warnungen in Dateien Visuelle Anzeige der Testergebnisse Generierung Test Klassen aus PHP Klassen Generierung PHP Klassen aus Test Klassen Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI - Konfiguration Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Manuelle Test Ausführung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Visuelle Anzeige Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – Test Klasse Generierung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
PTI – PHP Klasse Generierung Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Ausblick Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Ausblick PHP_CodeSniffer Mehrfach Konfiguration für Standards Unterstützung für Rule Set Dateien (Wizard, Import, Export) PHPDepend Erweiterte Konfiguration für Metriken und Fehlerbereiche PHPUnit Synchronisation Test Klasse PHP Klasse Echtzeit Anzeige Sonstiges Evaluierung neuer Tools: z.B. PHPMD, PHP_UML Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Weitere Informationen Eclipse – PHP Tool Integration (PTI) Homepage: SourceForge: Eclipse Marketplace: integrationhttp://marketplace.eclipse.org/content/pti-php-tool- integration Update Site: Mail: PHP_CodeSniffer Homepage: Blog: PHPDepend Homepage: PHPUnit Homepage: Sven Kiera: Eclipse – PHP Tool Integration (PTI)
Thanks for listening! Sven Kiera: Eclipse – PHP Tool Integration (PTI)