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

Chapter 8. Deploying Your Site

We’ve walked through the complete process of web development using Eclipse, from development to code storage. The final part would be to deploy your site to a web server. Once again, Eclipse simplifies our work by including several tools that aid us in this process.

The key to deployment in Eclipse is the export function. Eclipse gives us many options in exporting our site. First, we will look at FTP, an old and common method of moving files. WebDAV is an interesting way to upload files using a web server. Secure FTP (SFTP), a protocol similar to FTP, but encrypted, is enjoying immense popularity in this security-conscious age. FTP and WebDAV exports are provided through plug-ins as part of the PHPEclipse package. The Klomp plug-in gives us SFTP export capabilities, and comes bundled with PHPEclipse.

Finally, we will see how Ant, traditionally regarded as a Java tool, can help us in PHP deployment.