PHP Programming with PEAR
Packt Publishing Limited (Verlag)
978-1-904811-79-4 (ISBN)
Packed with code examples, every topic is explained in a clear, practical way. This book is for PHP developers who want to maximize their productivity through the use of proven, high-quality, reusable PEAR components. Some experience of working with PEAR classes will prove helpful, and developers who've used PEAR before can find something new to delight them.
Carsten Lucke studied computer-science at the University of Applied Sciences in Brandenburg, Germany. He is currently working as a software engineer for the software design and management AG (sd&m AG) in Munich, Germany. In his spare-time he writes articles for various magazines and contributes to the open-source community (especially PHP). He is the developer of a handful of PEAR/PECL packages, founder of the 3rdPEARty pear channel-server project (3rdpearty.net) and the tool-garage.de open-source and freeware project. Stoyan Stefanov is a Yahoo! web developer, Zend Certified Engineer, book author, and contributor to the international PHP community. He talks regularly about JavaScript, PHP, and other web development topics at conferences and his blog www.phpied.com and also runs a number of other sites, including JSPatterns.com - a site dedicated to exploring JavaScript patterns. Stoyan is the engineering lead of Yahoo's performance optimization tool 'YSlow', as well as other open-source tools and 'PEAR' libraries.
Chapter 1 shows you how to access databases with the MDB2 package. You will learn: Connecting to the database, and instantiate objects Executing queries and fetching data MDB2 SQL abstraction; sequences, replace queries, sub-select support, prepared statements Using MDB2 modules Extending MDB2 to provide custom fetch and result classes, iterators, and modules Chapter 2 explains how to use PEAR packages to display data . It teaches you: Creating powerful tables of data easily with the HTML_Table package Advanced table formatting with HTML_Table_Matrix Creating Excel spreadsheets dynamically with Spreadsheet_Excel_Writer Adding formatting to these spreadsheets including colors, patterns, formulae and number formatting Creating flexible, sortable grids of data with Structures_DataGrid Adding columns to the grid, control paging, select data sources, and renderers Using File_PDF to create PDF documents on the fly Chapter 3 covers the usage of PEAR packages to work with XML and stresses on: Creating XML documents with XML_Util, XML_Fastcreate Transforming PHP objects to XML format with XML_Serializer Creating Mozilla applications with XML_XUL Parsing XML with XML_Parser Processing XML documents to PHP objects with XML_Unserializer Parsing RSS with XML_RSS Chapter 4 is an extensive tutorial on working with web services and Web API's using PEAR packages. We cover the following topics: Consuming web services Consuming XML-RPC-based web services Accessing the Google API Searching blog entries with Services_Technorati Accessing the Amazon web service Accessing the Yahoo API Offering XML-RPC-based web services Offering SOAP-based web services Offering REST-based services using XML_Serializer Chapter 5 covers PEAR's date and time functions using the PEAR::Calendar and PEAR::Date packages such as: Creating, manipulating, and comparing Date objects Data_Span arithmetic Handling timezones with Date_Timezone Keeping track of public holidays with Date_Holiday Using the Calendar class to display an HTML calendar
Erscheint lt. Verlag | 15.12.2010 |
---|---|
Zusatzinfo | black & white illustrations |
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 190 x 235 mm |
Gewicht | 500 g |
Themenwelt | Informatik ► Web / Internet ► PHP |
ISBN-10 | 1-904811-79-5 / 1904811795 |
ISBN-13 | 978-1-904811-79-4 / 9781904811794 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich