PEAR's date and time section provides three very powerful packages. Each package is well designed and helps you develop applications that are fast and effective. A big advantage of the three packages is that you can use them in combination with each other without fearing incompatibilities. Both the PEAR::Calendar
and Date_Holidays
packages are able to use PEAR::Date
classes. PHP's native date and time functions are certainly faster but if you want an object-oriented API that is comfortable and powerful at the same time, the date packages are a very good solution.
PHP Programming with PEAR
By :
PHP Programming with PEAR
By:
Overview of this book
<p>PEAR is the PHP Extension and Application Repository, and is a framework and distribution system for reusable, high-quality PHP components, available in the form of "packages". <br /><br />In this book, you will learn how to use a number of the most powerful PEAR packages available to boost your PHP development productivity. By focusing on these packages for key development activities, this book is an in-depth guide to getting the most from these powerful coding resources.<br /><br />You will become a master of various PEAR packages that help you with the essential tasks of PHP development such as:<br /><br />• Accessing databases with MDB2<br />• Displaying data in a range of formats (HTML, Excel spreadsheet, PDF)<br />• Creating and parsing XML documents<br />• Serializing PHP objects into XML, and unserializing XML documents to PHP objects<br />• Consuming and offering web services<br />• Accessing Web APIs including Google, Yahoo, Amazon, and Technorati</p>
Table of Contents (10 chapters)
PHP Programming with PEAR
Credits
About the Authors
About the Reviewers
Preface
Free Chapter
MDB2
Displaying Data
Working with XML
Web Services
Customer Reviews