PHPEclipse: A User Guide


PHPEclipse: A User Guide
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
$10.50
save 50%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
$34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Compact guide to using Eclipse and PHPEclipse for web development
  • Slash development time by improving the efficiency of your PHP coding and organizing your projects in the PHPEclipse environment
  • Learn to use Eclipse for debugging PHP applications, interfacing with databases, and managing source code
  • No previous knowledge of Eclipse required

 

Book Details

Language : English
Paperback : 228 pages [ 235mm x 191mm ]
Release Date : February 2006
ISBN : 1904811442
ISBN 13 : 9781904811442
Author(s) : Shu-Wai Chow
Topics and Technologies : All Books, Web Development, Open Source, PHP


Table of Contents

Preface
Chapter 1: Overview of Eclipse and PHPEclipse
Chapter 2: Installation
Chapter 3: The Eclipse Interface
Chapter 4: Writing PHP Code with Eclipse
Chapter 5: Testing and Debugging
Chapter 6: Using the Quantum DB Plug-In
Chapter 7: Version Control
Chapter 8: Deploying Your Site
Appendix A: Plug-ins and Plug-in Sites
Appendix B: The Eclipse Update Manager
Index
  • Chapter 1: Overview of Eclipse and PHPEclipse
    • Integrated Development Environments
      • Advantages of Using an IDE
      • Disadvantages of Using an IDE
    • IDEs in Development Projects
    • Eclipse
      • A History of Eclipse
      • IBM and OTI
      • The Eclipse Foundation
    • The Eclipse Architecture
      • Plug-Ins
      • The Workbench Plug-In
      • Standard Widget Toolkit
    • Why Use Eclipse?
      • Eclipse is Extensible
      • Eclipse is Free
      • Eclipse Frees You from Vendor Lock-In
      • Cross-Platform
      • Professional Features
    • PHPEclipse
    • Summary
  • Chapter 2: Installation
    • Installing Apache/PHP
      • Windows
      • Mac OS X
      • Linux
      • Testing Apache
      • Testing PHP
    • Installing Java
      • Windows
      • Mac OS X
      • Linux
      • Testing Java
    • Eclipse
      • Downloading Eclipse
      • Installing Eclipse
    • Installing PHPEclipse
    • Putting It All Together
    • Summary
  • Chapter 3: The Eclipse Interface
    • Starting Eclipse
    • The Eclipse Welcome Screen
    • Perspectives
      • Changing Perspectives
    • Quantum DB Perspective
    • Editors
    • PHPEclipse Views
      • Navigator View
        • Working Sets
      • Console View
      • Problems View
      • Outline View
      • Bookmarks View
      • PHP Browser View
    • Personalizing Your Perspectives
      • Customize Perspectives
      • Perspective Layouts
        • Save Perspective As…
        • Reset Perspective
        • Close Perspective
        • Close All Perspectives
    • Summary
  • Chapter 4: Writing PHP Code with Eclipse
    • Creating a Project
      • Adding Directories
      • Creating PHP Files
      • Code Templates
    • The Editor
      • Editor Visual Aids
      • Customizing the Editor
    • Creating a Web Application
      • Setting Up the Database
      • Setting Up the Project
      • Creating the Objects
      • Creating the View Files
      • Writing the Database Class
      • Writing the Pet Class
      • Writing the Cat Class
      • Writing the View Class
      • Eclipse Web Tools Platform Project
        • Installing the Web Tools Platform
      • Writing the View Page
    • HTML Cleanup Using HTML Tidy
    • Code Documentation Using phpDocumentor
    • Summary
  • Chapter 5: Testing and Debugging
    • About the Debugger
    • Installing the Debugger
      • Installing DBG
        • Precompiled Binary Instructions
        • Compiling DBG Yourself
      • Configuring php.ini to Use DBG
        • Testing Your PHP Installation
    • Configuring Eclipse as the Debugger Client
      • Specifying an Interpreter
      • Creating a Debugging Configuration
    • Troubleshooting Tips
    • How to Use the Debugger
      • Debug View
      • Variables View
      • Breakpoints View
      • Console, Editor, Outline, and PHP Browser
    • Navigating Through a Debugging Session
    • Debugging Strategies
      • Working with Variables
        • Debugging Arrays
        • Debugging Objects
        • Changing Variable Values
      • Forms, Cookies, Session, and Server Variables
      • Watching Variables
      • Run
    • XDebug
      • Installing XDebug
        • Windows Installation
        • Mac OS X/Linux Installation
        • Configure php.ini
    • Summary
  • Chapter 6: Using the Quantum DB Plug-In
    • Relational Databases
      • JDBC
    • The Quantum DB Plug-In
      • Setting Up the Environment
        • The Development Database
        • Downloading and Installing the MySQL JDBC Driver
      • Using the Quantum DB Plug-In
        • Setting Up a Database in Quantum DB
        • Using a Database in Quantum DB
        • Writing SQL Statements
        • Working with the Quantum Table View Result Sets
        • Quantum DB Shortcuts
    • Summary
  • Chapter 7: Version Control
    • Version Control Overview
      • Terms and Concepts
    • Installing and Setting Up CVS
      • Windows Installation
      • Macintosh Installation
      • Linux Installation
      • Macintosh and Linux Configuration
    • The CVS Repository Perspective
      • Adding a Repository
      • Adding a Project to CVS
      • Committing and Updating
      • CVS Annotate View
      • CVS Resource History
      • Tagging
      • Branching
      • Merging
    • Subclipse
      • Viewing a Subversion Project
    • Summary
  • Chapter 8: Deploying Your Site
    • Setting Up a Test FTP Server
      • Windows
      • Macintosh
      • Linux
    • FTP, SFTP, and WebDAV Export
    • Using Ant for Deployment
      • Setting up Ant for FTP
        • Downloading
        • Installing
        • Adding Files to the Ant Classpath
      • Creating Our Sample Ant Build File
      • Running an Ant Script
      • Ant Tools
    • Summary

Shu-Wai Chow

Shu-Wai Chow has worked in computer programming and information technology for the past eight years. He started his career in Sacramento, California, spending four years as the webmaster for Educaid, a First Union Company, and another four years at Vision Service Plan as an application developer. Through the years, he has become proficient in Java, JSP, PHP, ColdFusion, ASP, LDAP, XSLT, and XSL-FO. Shu has also been the volunteer webmaster and a feline adoption counselor for several animal welfare organizations in Sacramento.

He is currently a software engineer at Antenna Software in Jersey City, New Jersey, and is finishing his studies in Economics at Rutgers, the State University of New Jersey.

Born in the British Crown Colony of Hong Kong, Shu did most of his alleged growing up in Palo Alto, California. He lives on the Jersey Shore with seven very demanding cats, four birds that are too smart for their own good, a tail-less bearded dragon, a betta who needs her tank cleaned, a dermestid beetle colony, a cherished Fender Stratocaster, and a beloved, saint-like fiancé.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 4 submitted: last submission 06 Aug 2012

Errata type: code | Page number: in the sql file shelter.sql

line #30, TYPE has been deprecated, replace with ENGINE=MyISAM;

Errata type: Update | Page number: 91

HTML Tidy & Quantam DB are no longer bundled with PHPEclipse

Errata type: URL change | Page number: 203

http://pipestonegroup.com/eclipse/updates
should be changed to
http://phpeclipse.sourceforge.net/update/cvs/

Errata type: URL change | Page number: 205

pipestonegroup.com
should be changed to
sourceforge.net

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

PHPEclipse: A User Guide +    PHP Application Development with NetBeans: Beginner's Guide =
50% Off
the second eBook
Price for both: $33.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Finding your way around the Eclipse environment
  • Working with the PHP editing features of PHPEclipse to correct your PHP syntax
  • Configuring and using the debugger to help troubleshoot PHP code
  • Using PHPDocumentor to quickly create documentation for your code
  • Interfacing to SQL databases using the QuantumDB plug-in
  • Managing your source code repository from within Eclipse
  • Deploying your application to production servers via FTP, SFTP, WebDav
  • Using Ant to deploy your PHP applications

 

In Detail

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.

PHPEclipse brings PHP functionality to the Eclipse platform, enhancing it as an environment for developing web applications and focusing on what PHP web developers need to create an application. PHPEclipse's development is active and its tool-set provides everything you need to write web applications in PHP.

Read Chapter 8: "Deploying Your Site" (PDF - 500KB)

Approach

Written in a concise and friendly style, packed with tips and a practical project, this book will instruct you on using PHPEclipse to make your PHP application development more efficient, and cut development time.

 

Who this book is for

This book is written for PHP developers who want an open source development environment for creating web applications. You do not need any knowledge of Java or prior experience of Eclipse to use this book.

 

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software