
Object-Oriented PHP. Concepts, Techniques, and Code
Год: 2006
Автор: Peter Lavin
Жанр: Практическое пособие
Издательство: No Starch Press
ISBN: 1-59327-077-1
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 210
Описание: This book will appeal to the developer who is familiar with PHP and wants to learn how to use its OO capabilities. However, programmers already familiar with an OO language, such as Java, who want to learn a scripting language will also find it useful. Additionally, if you are a system administrator who is considering installing PHP 5, this book will help you make an informed decision.
PHP is first and foremost a language for creating dynamic web pages, but the relative simplicity of OOP in PHP makes it an ideal language for a general introduction to OOP. The concepts learned here are applicable to any OO language, so if you want to get a feel for OOP, OO PHP is a good place to begin.
Whatever your motivation, by the time you’ve finished this book you’ll have an excellent understanding of OOP and numerous classes that can easily be reused in a variety of circumstances. But, more importantly, you’ll be able to create your own classes and extend existing ones.
Introduction
Chapter 1: What a Tangled Web We Weave
Chapter 2: Basics of Object-Oriented Programming
Chapter 3: Object-Oriented Features New to PHP 5
Chapter 4: Show a Little Class
Chapter 5: Mod UR Class
Chapter 6: The Thumbnaillmage Class
Chapter 7: Building the PageNavigator Class
Chapter 8: Using the PageNavigator Class
Chapter 9: Database Classes
Chapter 10 Improvement Through Inheritance
Chapter 11 Advanced Object-Oriented Programming Concepts
Chapter 12 Keeping It Fresh
Chapter 13 More Magic Methods
Chapter 14 Creating Documentation Using the Reflection Classes
Chapter 15 Extending SQLite
Chapter 16 Using PDO
Appendix A: Setting Up PHP 5
Appendix B: Conversion Table: PHP 4 and PHP 5
Glossary
Index
Опубликовано группой