[...]... xxi 613 7ch00FM.qxd 3 /14 /06 1: 52 PM Page xxii 613 7ch 01. qxd 3 /14 /06 1: 58 PM CHAPTER Page 1 1 ■■■ Introducing PHP-GTK T his book takes a problem-based approach to learning Each chapter discusses a particular issue, and then shows which tools can be used to solve that issue You will also walk through a real-world project to help you learn how to use PHP-GTK to develop a desktop application to solve the problem... care of both tasks PHP-GTK 2, the version this book focuses on, combines the power of GTK+ 2.6 with the ease of programming and advanced object model of PHP 5 .1 Listing 1- 2 gives you a quick look at the syntax needed for creating a PHP-GTK application 613 7ch 01. qxd 3 /14 /06 1: 58 PM Page 9 CHAPTER 1 ■ INTRODUCING PHP-GTK Figure 1- 3 A PHP-GTK documentation browser Listing 1- 2 A Simple PHP-GTK Application... written with PHP-GTK The two applications are remarkably similar, even though the underlying technology is different Figure 1- 1 WordPad, a text editing application written in C++ 3 613 7ch 01. qxd 4 3 /14 /06 1: 58 PM Page 4 CHAPTER 1 ■ INTRODUCING PHP-GTK Figure 1- 2 Tulip, a text editor written with PHP-GTK PHP-GTK is a powerful solution for creating stand-alone GUI applications It takes the benefits of programming... Inc with product management issues You will assume that Crisscott is an online shop that sells goods for PHP-GTK programmers Its products range from books, such as this one, to downloadable applications, such as integrated development environments (IDEs) or documentation browsers 1 613 7ch 01. qxd 2 3 /14 /06 1: 58 PM Page 2 CHAPTER 1 ■ INTRODUCING PHP-GTK Crisscott is having a problem managing its product... OO programming style As a quick refresher, consider Listing 1- 1 Listing 1- 1 Inheritance in PHP . w0 h0" alt="" Pro PHP-GTK Scott Mattocks 613 7ch00FM.qxd 3 /14 /06 1: 52 PM Page i Pro PHP-GTK Copyright © 2006 by Scott Mattocks All rights reserved. No part of this work may be reproduced or transmitted. copyright owner and the publisher. ISBN -13 : 978 -1- 59059- 613 -5 ISBN -10 : 1- 59059- 613 -7 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book xiii 613 7ch00FM.qxd 3 /14 /06 1: 52 PM Page xiii 613 7ch00FM.qxd 3 /14 /06 1: 52 PM Page xiv About the Author ■SCOTT MATTOCKS is a PHP developer with OnForce.com. Scott has been working with PHP and PHP-GTK