Book Image

PHPEclipse: A User Guide

Book Image

PHPEclipse: A User Guide

Overview of this book

The fusion of Eclipse, the leading open source development environment, and PHP is an exciting prospect for web developers. This book makes sure that you are up and running as quickly as possible, ready to take full advantage of PHPEclipse's tuned PHP development tools, without requiring any prior knowledge of Eclipse. You will begin with installing and configuring PHPEclipse, before moving onto a tour of the Eclipse environment, familiarizing you with its main components. As a plug-in to Eclipse, PHPEclipse is able to harness the platform to provide a rich and powerful development experience. For helping you improve the efficiency of your PHP coding, the book details the powerful editing features of PHPEclipse, and shows you how to use it to better organize your application code. You will see how PHPEclipse helps you throughout the development lifecycle, and learn how to use PHPEclipse's debugger to troubleshoot and step through your PHP code as it executes. The book rounds off with coverage of accessing databases and managing source code from within the. For the final step for your application, you will learn how to deploy your site to a production server."
Table of Contents (12 chapters)
11
Index

XDebug

Currently, the PHPEclipse team is working on debugging interface for XDebug, another PHP debugger similar to DBG. This will give you a choice of debuggers to use. This may not appear important right now since PHPEclipse will be your client to both debuggers. However, this is important if you have other types of clients hitting your PHP development servers. These other clients may not be able to communicate with DBG or vice versa. Down the road, there may be feature disparities between the two debuggers. Supporting both will make sure PHPEclipse continues to be a useful and relevant PHP IDE.

In this section, we will take a look at how PHPEclipse will interface with XDebug. This will require two key components: the PHPEclipse/XDebug plug-ins and the XDebug shared module installed on our copy of PHP.

For the former, XDebug support is slated for inclusion in PHPEclipse version 1.1.8. As of this writing, it is currently available in the HEAD of PHPEclipse’s CVS repository, but still...