ISBN-13: 9780596006365 / Angielski / Miękka / 2004 / 327 str.
If you're using PHP 4, then chances are good that an upgrade to PHP 5 is in your future. The more you've heard about the exciting new features in PHP 5, the sooner that upgrade is probably going to be. Although an in-depth, soup-to-nuts reference guide to the language is good to have on hand, it's not the book an experienced PHP programmer needs to get started with the latest release. What you need is a lean and focused guide that answers your most pressing questions: what's new with the technology, what's different, and how do I make the best use of it? In other words, you need a copy of Upgrading to PHP 5.This book is targeted toward PHP developers who are already familiar with PHP 4. Rather than serve as a definitive guide to the entire language, the book zeroes in on PHP 5's new features, and covers these features definitively. You'll find a concise appraisal of the differences between PHP 4 and PHP 5, a detailed look at what's new in this latest version, and you'll see how PHP 5 improves on PHP 4 code. See PHP 4 and PHP 5 code side-by-side, to learn how the new features make it easier to solve common PHP problems. Each new feature is shown in code, helping you understand why it's there, when to use it, and how it's better than PHP 4. Short, sample programs are included throughout the book.Topics covered in Upgrading to PHP 5 include:
If youre using PHP 4, then chances are good that an upgrade to PHP 5 is in your future. The more youve heard about the exciting new features in PHP 5, the sooner that upgrade is probably going to be. Although an in-depth, soup-to-nuts reference guide to the language is good to have on hand, its not the book an experienced PHP programmer needs to get started with the latest release. What you need is a lean and focused guide that answers your most pressing questions: whats new with the technology, whats different, and how do I make the best use of it? In other words, you need a copy of Upgrading to PHP 5.
This book is targeted toward PHP developers who are already familiar with PHP 4. Rather than serve as a definitive guide to the entire language, the book zeroes in on PHP 5s new features, and covers these features definitively. Youll find a concise appraisal of the differences between PHP 4 and PHP 5, a detailed look at whats new in this latest version, and youll see how PHP 5 improves on PHP 4 code. See PHP 4 and PHP 5 code side-by-side, to learn how the new features make it easier to solve common PHP problems. Each new feature is shown in code, helping you understand why its there, when to use it, and how its better than PHP 4. Short, sample programs are included throughout the book.
Topics covered in Upgrading to PHP 5 include:
The new set of robust object-oriented programming featuresAn improved MySQL extension, supporting MySQL 4.1, prepared statements, and bound parametersCompletely rewritten support for XML: DOM, XSLT, SAX, and SimpleXMLEasy web services with SOAPSQLite, an embedded database library bundled with PHP 5Cleaner error handling with exceptionsOther new language features, such as iterators, streams, and more.Upgrading to PHP 5 wont make you wade through information youve covered before. Written by Adam Trachtenberg, coauthor of the popular PHP Cookbook, this book will take you straight into the heart of all thats new in PHP 5. By the time youve finished, youll know PHP 5 in practice as well as in theory.