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

Version Control Overview

In its most basic form, version control is a place to maintain source code files. There is a server component, where the files are stored, and a client component that retrieves and places files into a server. The key benefits and differences over a simple file server include:

  • Work share: In some form, the versioning software should have tools to let team members know who is working on what. Often, this is a locking mechanism that gives one user ‘exclusive’ rights to a file, but tells other people on the team, ‘Hey, Joe is working on that file’.
  • Historical preservation: Control versioning software must store a file’s history of changes and should be able to restore any prior version if necessary. Even if you are a lone web developer not in a team, this feature alone makes versioning systems worth using. If you need to research the exact state of a source file six months ago, this software can retrieve that file for you.
  • Backup: By...