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

Editors

Editors are used to edit or create a resource. Generally, in any language development perspective, a large space is reserved for documents opened in an editor. In this book, we will encounter three editors — the PHP editor, the Quantum SQL editor, and the generic text editor featured in the Resource perspective.

The differences between the three are subtle because the former two leverage and extend the generic editor. Even JDT’s Java editor operates in the same way. This makes the appearance of each editor fairly similar to the end user — all three appear to be simple text editors. The only real differences are features that need to be customized for each language, like syntax highlighting and keyword alerts.

Editors are invoked when you open a document either by double-clicking on the file or selecting an external file to open using the File | Open File... option. The Workbench chooses the appropriate editor based on a particular order:

  1. The editor that last opened...