370 likes | 469 Views
Dive into the evolution of editors and discover the key differences between using a basic text editor like Notepad and a robust IDE for PHP development. Understand the benefits of IDEs, essential features, debugging tools, and how to set up efficient workflows. Compare popular PHP IDEs, explore free resources, and get insights on debugging terminology. Enhance your coding experience and productivity with the right PHP IDE for your projects.
E N D
PHP Integrated Development Environments You need to stop using Notepad
Integrated Development Environments • Evolution of Editors • The IDE Difference • Debugging • IDE Comparison
How to Tie Your Shoes Faster http://www.fieggen.com/shoelace/ianknot.htm
Evolution of Editors (the boring historical part)
In the beginning…
Types of IDEs Visual Non-Visual • Dreamweaver • Expression • Delphi • NotePad++ • Textmate • PHPEdit
The IDE Difference So what’s an “IDE”, really?
Common Features • Syntax Highlighting • Code Folding • Bookmarks • Code Snippets • Add-in Tools • Project Lists
IDE-Specific Features • Code Completion • Inline Syntax Checking • SCM Integration • End-to-End Development • Database Access • Framework Integration • Deployment • Documentation • Unit Tests • Debugging
Code Completion • Project aware • Built-in functions • External libraries • Scope awareness • PHPDoc
SCM Integration http://seancoates.com/php-aware-diff
End-to-End Development • HTML • CSS • Javascript • SQL • PHP
Framework Integration • Symfony • Prado • ezTemplate • YAML • Drupal?
Debugging Why everyone really wants an IDE
What does the debugger do? • Replaces die(‘test’); • Examine execution path • Change variables live • Records coverage • Improves error messages • Profiles code execution
Setting up for debugging • PHP (duh) • Debug module • Xdebug for your version of PHP • Php.ini configured for Xdebug • DBG • Zend Debugger • Debug port open to your IDE • IDE (duh) • Some debugging trigger
Debugging Terminology • Breakpoint • Watch • Immediate • Stack
IDE Comparison Charts look impressive
Free Stuff! http://www.phpedit.com/en/events/philadelphia-php-meetup
Photo Credits Thanks to these folks who made their images available for use via Creative Commons. • http://www.flickr.com/photos/bright/2708967560/ • http://www.flickr.com/photos/articnomad/16153058/ • http://www.flickr.com/photos/catmachine/3664956027/ • http://www.flickr.com/photos/epitti/2586173692/ • http://da.wikipedia.org/wiki/Emacs • http://www.flickr.com/photos/angelaypablo/860181962/