| home / programming / phpanth1 / 1 | [next] |
|
|
What makes this book a little different from others on PHP is that it steps away from a tutorial style, and instead focuses on the achievement of practical goals with a minimum of effort. To that extent, you should be able to use many of the solutions provided here in a more or less “plug and play” manner, rather than having to read this book from cover to cover.
That said, threaded throughout these discussions is a “hidden agenda.” As well as solutions, this book aims to introduce you to techniques that can save you effort, and help you reduce the time it takes to complete and later maintain your Web-based PHP applications.
Although it was originally conceived as a procedural programming language, in recent years PHP has proven increasingly successful as a language for the development of object oriented solutions. This was further compounded by the public opening in January 2003 of the PHP Application and Extension Repository (PEAR), which provides a growing collection of reusable and well maintained solutions for architectural problems (such as Web form generation and validation) regularly encountered by PHP developers around the world.
The object oriented paradigm seems to scare many PHP developers, and is often regarded as “off limits” to all but the PHP gurus. What this book will show you is that you do not need a computer science degree to take advantage of the wealth of class libraries available in PHP today. Wherever possible in the development of the solutions provided in this book, I’ve made use of freely available libraries that I’ve personally found handy, and which have saved me many hours of development. Employing a class developed by someone else is often as easy as using any of the built-in functions PHP provides.
The emphasis this book places on taking advantage of reusable components to build your PHP Web applications reflects another step away from the focus of many current PHP-related books. Although you won’t find extensive discussions of object oriented application design, reading The PHP Anthology, Volume I: Foundations and Volume II: Applications from cover to cover will, through a process of osmosis, help you take your PHP coding skills to the next level, setting you well on your way to constructing applications that can stand the test of time.
The PHP Anthology, Volume I: Foundations, will equip you with the essentials with which you need to be confident when working the PHP engine, including a fast-paced primer on object oriented programming with PHP (see Chapter 2, Object Oriented PHP ). With that preparation out of the way, the book looks at solutions that could be applied to almost all PHP-based Web applications, the essentials of which you may already have knowledge of, but have yet to fully grasp.
Readers with a greater amount of PHP experience may like to skip ahead to The PHP Anthology, Volume II: Applications to learn how to put some of PHP’s more advanced features to use, and refer back to Volume I: Foundations when they need an explanation of a more basic concept.
| home / programming / phpanth1 / 1 | [next] |
Created: March 27, 2003
Revised: January 2, 2004
URL: http://webreference.com/programming/phpanth1