eclipse pdt

20
WEB TEKLOLOJİLERİ GÜNÜ WEB TEKLOLOJİLERİ GÜNÜ Eclipse PDT Eclipse PDT

Post on 21-Oct-2014

3.542 views

Category:

Technology


9 download

DESCRIPTION

Ceviz.Net ile CETURK işbirliğiyle Boğaziçi Üniversitesi İbrahim Bodur Oditoryumu'nda 09 Mayıs 2009 tarihinde düzenlenen Web Teknolojileri Günü'nde sunduğumuz Eclipse PDT (PHP Development Tools) semineri sunumu.

TRANSCRIPT

WEB TEKLOLOJİLERİ GÜNÜWEB TEKLOLOJİLERİ GÜNÜEclipse PDTEclipse PDT

Eclipse PDT Eclipse PDT Nedir ?Nedir ?

Eclipse PDT NedirEclipse PDT Nedir

Eclipse PDT Eclipse PDT PHP Development Tools’un kısaltması,PHP Development Tools’un kısaltması,

Proje 2006 Mart ayında Zend ile IBM arasındaki anlaşmayla Proje 2006 Mart ayında Zend ile IBM arasındaki anlaşmayla başladı,başladı,Eylül 2007’de ilk versiyon duyuruldu,Eylül 2007’de ilk versiyon duyuruldu,

Eclipse PDT NedirEclipse PDT Nedir

Kod yardımcısıKod yardımcısı•Eclipse Platformunda PHP IDE,Eclipse Platformunda PHP IDE,•Full Functionality,Full Functionality,•Kod tamamlama,Kod tamamlama,•Renklendirme,Renklendirme,•Formatlama,Formatlama,•php.net ile dökümantasyon,php.net ile dökümantasyon,•AnnotationsAnnotations

Debugging,Debugging,•Lokal debuggingLokal debugging•Remote debuggingRemote debugging

Eclipse PDT NedirEclipse PDT Nedir

Şimdiki stabil sürüm 2.0 Şimdiki stabil sürüm 2.0 Ancak Eclipse Galileo üzerinde 2.1 versiyonu da mevcut,Ancak Eclipse Galileo üzerinde 2.1 versiyonu da mevcut,Proje adresi : Proje adresi : http://www.eclipse.org/pdthttp://www.eclipse.org/pdt

Kurulum için installer bulunmuyor. Kurulum için installer bulunmuyor. İndirilen zip açıldığında eclipse adındaki dizindeki İndirilen zip açıldığında eclipse adındaki dizindeki eclipse.exe çalıştırılabilir.eclipse.exe çalıştırılabilir.

Debug içinDebug içinZend debugger ve Xdebug seçenekleri var,Zend debugger ve Xdebug seçenekleri var,

Eclipse PDT NedirEclipse PDT Nedir

Perspective’lerPerspective’lerPHP PHP PHP DebuggingPHP Debugging

View’lar:View’lar:PHP ExplorerPHP ExplorerPHP FunctionsPHP FunctionsPHP Project OutlinePHP Project Outline

Debug OutputDebug OutputParameter StackParameter StackBrowser OutputBrowser Output

Eclipse PDT Eclipse PDT DebuggingDebugging

Eclipse PDT DebuggingEclipse PDT Debugging

Eclipse PDT içinde Zend debug ve Xdebug olarak iki seçenek Eclipse PDT içinde Zend debug ve Xdebug olarak iki seçenek bulunuyor.bulunuyor.

Xdebug özgür yazılım ürünü. Derick Rethans tarafından Xdebug özgür yazılım ürünü. Derick Rethans tarafından geliştirilmiştir.geliştirilmiştir.

Eclipse PDT DebuggingEclipse PDT Debugging

Eclipse PDT’de varsayılan debugger Zend Eclipse PDT’de varsayılan debugger Zend

Window -> Preferences -> PHP -> Debug yolundan giderek Window -> Preferences -> PHP -> Debug yolundan giderek Xdebug olarak set etmek gerekiyor.Xdebug olarak set etmek gerekiyor.

Eclipse PDT DebuggingEclipse PDT Debugging

Eclipse PDT DebuggingEclipse PDT DebuggingKurulumKurulum

Xdebug için sunulan dll Xdebug için sunulan dll www.xdebug.org adresinden indirilir. adresinden indirilir.php.ini içerisinde aşağıdaki tanımlamalar yapılır:php.ini içerisinde aşağıdaki tanımlamalar yapılır:

xdebug.remote_enable=Onxdebug.remote_enable=Onxdebug.remote_host="localhost"xdebug.remote_host="localhost"xdebug.remote_port=9000xdebug.remote_port=9000xdebug.remote_handler="dbgp"xdebug.remote_handler="dbgp"zend_extension_ts="D:/setuplar/php-5.2.8/ext/php_xdebug-2.0.4-5.2.8.dll"zend_extension_ts="D:/setuplar/php-5.2.8/ext/php_xdebug-2.0.4-5.2.8.dll"

Eclipse PDT DebuggingEclipse PDT DebuggingKurulumKurulum

Eclipse PDT DebuggingEclipse PDT DebuggingGlobal AyarlarGlobal Ayarlar

Buradaki 9000 nolu port değştirilebilir.Buradaki 9000 nolu port değştirilebilir.Eclipse Window -> Preferences-> PHP -> Debug -> Installed Eclipse Window -> Preferences-> PHP -> Debug -> Installed Debugger yolundan giderek port ayarlanabilir.Debugger yolundan giderek port ayarlanabilir.

Eclipse PDT DebuggingEclipse PDT DebuggingGlobal AyarlarGlobal Ayarlar

Eclipse PDT DebuggingEclipse PDT DebuggingProje AyarlarıProje Ayarları

PHP Explorer ile yeni bir PHP Projesi oluşturduktan ve php PHP Explorer ile yeni bir PHP Projesi oluşturduktan ve php dosyası ekledikten sonra dosya üzerinde sağ tuş ile dosyası ekledikten sonra dosya üzerinde sağ tuş ile Debug As.. -> Debug Configurations -> PHP Web Page -> New Debug As.. -> Debug Configurations -> PHP Web Page -> New launch configuration ile gelen ekrandan ayarlar yapılır.launch configuration ile gelen ekrandan ayarlar yapılır.

Eclipse PDT DebuggingEclipse PDT DebuggingProje AyarlarıProje Ayarları

Eclipse PDT DebuggingEclipse PDT DebuggingProje AyarlarıProje Ayarları

Eclipse PDT DebuggingEclipse PDT DebuggingProje AyarlarıProje Ayarları

DemoDemo

TeşekkürlerTeşekkürler