PHP Programming with PEAR
Saved in:
| Title: | PHP Programming with PEAR |
|---|---|
| Description: | XML, Data, Dates, Web Services, and Web APIsAbout This BookMaximize your productivity through the use of proven, powerful, reusable PHP componentsIn-depth coverage of a range of important PEAR packagesMany code examples provide a clear and practical guidanceWho This Book Is ForThis 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.What You Will LearnChapter 1 shows you how to access databases with the MDB2 package. You will learn:Connecting to the database, and instantiate objectsExecuting queries and fetching dataMDB2 SQL abstraction; sequences, replace queries, sub-select support, prepared statementsUsing MDB2 modulesExtending MDB2 to provide custom fetch and result classes, iterators, and modulesChapter 2 explains how to use PEAR packages to display data. It teaches you:Creating powerful tables of data easily with the HTML_Table packageAdvanced table formatting with HTML_Table_MatrixCreating Excel spreadsheets dynamically with Spreadsheet_Excel_WriterAdding formatting to these spreadsheets including colors, patterns, formulae and number formattingCreating flexible, sortable grids of data with Structures_DataGridAdding columns to the grid, control paging, select data sources, and renderersUsing File_PDF to create PDF documents on the flyChapter 3 covers the usage of PEAR packages to work with XML and stresses on:Creating XML documents with XML_Util, XML_FastcreateTransforming PHP objects to XML format with XML_SerializerCreating Mozilla applications with XML_XULParsing XML with XML_ParserProcessing XML documents to PHP objects with XML_UnserializerParsing RSS with XML_RSSChapter 4 is an extensive tutorial on working with web services and Web API's using PEAR packages. We cover the following topics:Consuming web servicesConsuming XML-RPC-based web servicesAccessing the Google APISearching blog entries with Services_TechnoratiAccessing the Amazon web serviceAccessing the Yahoo APIOffering XML-RPC-based web servicesOffering SOAP-based web servicesOffering REST-based services using XML_SerializerChapter 5 covers PEAR's date and time functions using the PEAR::Calendar and PEAR::Date packages such as:Creating, manipulating, and comparing Date objectsData_Span arithmeticHandling timezones with Date_TimezoneKeeping track of public holidays with Date_HolidayUsing the Calendar class to display an HTML calendarIn DetailPEAR 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'.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.Style and approachPacked with code examples, every topic is explained in a clear, practical way. |
| Authors: | Schmidt, Stephan |
| Resource Type: | eBook. |
| Subjects: | Web databases--Design, PHP (Computer program language), Web site development |
| Categories: | COMPUTERS / Languages / JavaScript, COMPUTERS / Programming Languages / VBScript |
| Database: | eBook Index |
| Abstract: | XML, Data, Dates, Web Services, and Web APIsAbout This BookMaximize your productivity through the use of proven, powerful, reusable PHP componentsIn-depth coverage of a range of important PEAR packagesMany code examples provide a clear and practical guidanceWho This Book Is ForThis 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.What You Will LearnChapter 1 shows you how to access databases with the MDB2 package. You will learn:Connecting to the database, and instantiate objectsExecuting queries and fetching dataMDB2 SQL abstraction; sequences, replace queries, sub-select support, prepared statementsUsing MDB2 modulesExtending MDB2 to provide custom fetch and result classes, iterators, and modulesChapter 2 explains how to use PEAR packages to display data. It teaches you:Creating powerful tables of data easily with the HTML_Table packageAdvanced table formatting with HTML_Table_MatrixCreating Excel spreadsheets dynamically with Spreadsheet_Excel_WriterAdding formatting to these spreadsheets including colors, patterns, formulae and number formattingCreating flexible, sortable grids of data with Structures_DataGridAdding columns to the grid, control paging, select data sources, and renderersUsing File_PDF to create PDF documents on the flyChapter 3 covers the usage of PEAR packages to work with XML and stresses on:Creating XML documents with XML_Util, XML_FastcreateTransforming PHP objects to XML format with XML_SerializerCreating Mozilla applications with XML_XULParsing XML with XML_ParserProcessing XML documents to PHP objects with XML_UnserializerParsing RSS with XML_RSSChapter 4 is an extensive tutorial on working with web services and Web API's using PEAR packages. We cover the following topics:Consuming web servicesConsuming XML-RPC-based web servicesAccessing the Google APISearching blog entries with Services_TechnoratiAccessing the Amazon web serviceAccessing the Yahoo APIOffering XML-RPC-based web servicesOffering SOAP-based web servicesOffering REST-based services using XML_SerializerChapter 5 covers PEAR's date and time functions using the PEAR::Calendar and PEAR::Date packages such as:Creating, manipulating, and comparing Date objectsData_Span arithmeticHandling timezones with Date_TimezoneKeeping track of public holidays with Date_HolidayUsing the Calendar class to display an HTML calendarIn DetailPEAR 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'.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.Style and approachPacked with code examples, every topic is explained in a clear, practical way. |
|---|---|
| ISBN: | 9781904811794 9781847190642 |