PHP Programming Solutions is a full-fledged developer guide with two primary goals: to deliver solutions to commonly encountered problems, and to educate developers about the wide array of built-in functions and ready-made PHP widgets available to them. Task-based categorization makes it easy to locate solutions, and each section comes with working code, a detailed explanation, and applicable usage tips and guidelines. The solutions described use both PHP’s native functions and off-the-shelf PEAR classes. PHP Programming Solutions includes coverage of a wide variety of categories, including string and number manipulation, input validation and security, authentication, caching, XML parsing, database abstraction, and more. The solutions are intended to: - Simplify and shorten the application development cycle
- Reduce test time
- Improve quality
- Provide you, the developer, with the tools you need to quickly solve real PHP problems with minimal time and fuss.
Simplify and shorten the PHP application development cycle using the in-depth information contained in this hands-on guide. PHP Programming Solutions clearly lays out more than 250 programming challenges alongside practical solutions, functioning code, detailed explanations, and usage tips. Inside, you'll learn to manipulate strings and arrays, work with HTML and Web pages, accept and validate user input, parse XML code, and resolve programming problems using PEAR and PECL widgets and extensions. Plus, you'll get detailed coverage of PHP security issues, SQL database interaction, debugging techniques, and error processing. - Work with numbers, strings, dates, times, files, and directories
- Build complex data structures using PHP's array manipulation API
- Use functions and classes to build modular, reusable code
- Create, update, and cache HTML documents and Web content
- Obtain and process user input submitted via online forms
- Protect, log, and debug PHP script actions
- Authenticate and track users with sessions and cookies
- Traverse, validate, and transform XML documents
- Store and retrieve data from MySQL, PostgreSQL, and Oracle databases
- Interface with different server types, network protocols, and file formats
- Perform efficient exception handling and error processing
|