| help | account  


Zend Eclipse PHP Developer's Guide
View Larger Image
Peter MacIntyre, Ian Morse
Sams, Paperback, Published March 2008, 352 pages, ISBN 0672329409
List Price: $39.99
Our Price: $25.50
You Save: $14.49 (36% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock
Read an excerpt:
Chapter 3: Environmental Settings

     

Reprinted with permission from Sams Publishing. Copyright © Pearson Education, Sams Publishing. Written permission from the publisher is required for any use of this material.

Be the First to Write a Review and tell the world about this title!

Books on similar topics, in best-seller order:

Books from the same publisher, in best-seller order:

The definitive, comprehensive guide to Zend Studio for Eclipse

Zend Studio for Eclipse gives millions of PHP/LAMP developers world-class tools for building state-of-the-art web applications. Now, here’s a definitive guide to making the most of this breakthrough development environment. Zend Certified Engineer Peter MacIntyre and expert PHP developer Ian Morse show how to use Zend Studio for Eclipse to improve productivity, effectiveness, and code quality throughout your entire project lifecycle.

You’ll start with a product tour that introduces the core techniques and terminology you’ll use in all your projects–including views, perspectives, outlines, and much more. You’ll discover how to quickly use preferences to customize Zend Studio for Eclipse to your unique needs.

Next, MacIntyre and Morse offer detailed, practical insights into every key aspect of working with Zend Studio: the code editor, PHP perspective views, Code Gallery, Code Analyzer, refactoring, SQL integration, unit testing with PHPUnit, debugging, version control, WYSIWYG design, and much more. You’ll learn how to use the powerful integrated tools Zend provides, as well as those offered by the thriving worldwide Eclipse ecosystem.

This book is an indispensable resource for every developer who wants to master Zend Studio for Eclipse: programmers already familiar with PHP and LAMP and users of other Eclipse-based IDEs who want to leverage their skills to create powerful PHP-based web applications.

 

On the Web

Download all examples and source code presented in this book from informit.com/title/9780672329401

 

About the Authors

Peter MacIntyre is a Zend Certified Engineer with more than 18 years of experience in software development. He is a past contributing editor and author of php|architect (www.phparch.com), a regular speaker at North American and international computer conferences, and coauthor of Programming PHP.

Ian Morse has participated in software projects of all sizes in various industries. His recent assignments include working on the new national website for the leading Canadianpizza restaurant, Pizza Delight.

 

Table of Contents

Foreword ix

Introduction 1

1 A First Look at Zend Studio for Eclipse 3

View 3

Perspectives 6

Outline View 8

Working Sets 9

Code Editor 10

Preferences 12

Summary 13

2 Creating Projects 15

Projects Wizard 15

Zend Framework Project 18

Multiproject Support 19

Setting up Working Sets 21

Importing Projects 22

Exporting Projects 23

Creating New Files 24

Using Link with Editor 25

Accessing Remote Files 25

Summary 28

3 Environmental Settings 29

The Concept of Perspectives 29

Zend Studio for Eclipse Preferences 32

Systemwide Preferences 32

PHP Preferences 38

Summary 46

4 The Code Editor 47

PHP Code Assist 49

Code Formatter 50

Properties View 51

Summary 52

5 Views in the PHP Perspective 53

Getting Started 53

Outline View 53

PHP Project Outline View 54

PHP Functions View 54

Problems View 55

Tasks View 56

Filters 57

Views in Action 59

Summary 61

6 Code Gallery 63

User Code Gallery 63

Zend Gallery 65

Summary 66

7 Code Analyzer 67

Configuring the Code Analyzer 67

Using the Code Analyzer 70

Summary 71

8 Refactoring 73

Rename Local Variables 73

Rename Global Variables 76

Rename Data Members 78

Rename Methods, Functions, and Classes 78

Move Files and Folders 79

Summary 81

9 SQL Integration 83

Database Development Perspective 83

Viewing Data 86

Data Manipulation 88

Table Manipulations 88

Summary 89

10 Testing the Project 91

Debugging with Console Output 91

Getting Started with PHPUnit 94

PHPUnit Test Suites 99

Summary 100

11 Introduction to Debugging 101

Debugging Preferences 101

Local Debugging 102

Remote Debugging 103

Summary 103

12 Running/Stepping Through Your Code 105

The Debug Perspective 105

Breakpoints 106

Running a Debugging Session 107

Summary 112

13 Version Control Integration 113

Configuration 113

Creating a CVS Project 116

Summary 119

14 The WYSIWYG Designer 121

The HTML Editor View 122

Design 122

Source, Design/Source 123

Preview 124

Code Assist/Properties 125

Summary 127

15 Integrated Zend Tools 129

Integration with Zend Guard 129

Integration with Zend Platform 132

Summary 133

16 Zend Framework Library 135

What Is Model-View-Controller Design? 135

Creating a Zend Framework Project 136

Adding to a Framework-Driven Site 137

Separating Content and Design 139

Included Framework Libraries 141

Zend_Acl 141

Zend_Controller 142

Zend_Db 142

Zend_Gdata 143

Zend_Mail 143

Zend_Pdf 144

Zend_Service 144

Summary 144

17 Designing the Project 145

What the Project Will Do 145

Table Creation SQL 148

Summary 150

18 Writing the Project 151

Setting Up 151

Writing Some Code 152

Adding More Functionality 157

Summary 167

Appendix Updates, Add-ons, and Resources 169

Zend Studio for Eclipse Update Process 169

Adding Third-Party Plug-ins to Zend Studio for
Eclipse 170

Additional Resources 173




Forgot your password?
FAQs
Shipping Options
Returns
Your Orders
Your Account