A compilation of best practice solutions to common Web Development problems in PHP, focusing on the achievement of practical goals by applying well-structured, object orientated software design principles. Volume 1 covers the foundations of PHP including writing portable and reusable code, storing and extracting data from files, manipulating text, working with email and error handling. In addition to being an excellent reference with over 60 customizable solutions, the book acts as an excellent primer for Object Orientated Programming. PHP 5 has now been released and has been given significant OOP features, which are a must-learn for PHP Developers. All code in the book is backwards compatible with earlier versions of PHP.
Note: A completely updated & revised edition of this book is now available. Please search for "The PHP Anthology, 2nd Edition" (ISBN: 0975841998) A compilation of best practice solutions to common Web Development problems in PHP, focusing on the achievement of practical goals by applying well-structured, object orientated software design principles. Volume 2 covers the applications of PHP in the real world including authentication & access control, XML, stats & tracking, caching data to improve performance, design techniques and design patterns. The chapter on Design Patterns is particularly unique as it teaches readers about common object architectures which can be used to solve common (though unique) problems. In addition to being an excellent reference with over 60 customizable solutions, the book acts as an excellent primer for Object Orientated Programming. PHP 5 has now been released and has been given significant OOP features, which are a must-learn for PHP Developers. All code in the book is backwards compatible with earlier versions of PHP.
Design patterns are comprehensive, well-tested solutions to common problems that developers everywhere encounter each day. Although designed for solving general programming issues, some of them have been successfully adapted to the specific needs of Web development.php architect's Guide to PHP Design Patterns is the first comprehensive guide to the application of design patterns to the PHP development language. Designed to satisfy the need of enterprise-strength development, you will find this book an excellent way to learn about design patterns and an irreplaceable reference for your day-to-day programming.With coverage of more than 16 different types of patterns, including Model-View-Controller, Iterator, MockObject, Register, Proxy, ActiveRecord, DataMapper and many, many others, this book is the ideal resource for your enterprise development with PHP 4 and PHP 5.* Includes over 16 design patterns* Each pattern is discussed in detail with practical code applications* Covers both PHP 4 and PHP 5* Provides a thorough test-driven approach to design patterns* Code is available online
"This volume introduces a new concept to explore the dynamic relationship between folklore and popular culture: the “folkloresque.” With “folkloresque,” Foster and Tolbert name the product created when popular culture appropriates or reinvents folkloric themes, characters, and images. Such manufactured tropes are traditionally considered outside the purview of academic folklore study, but the folkloresque offers a frame for understanding them that is grounded in the discourse and theory of the discipline.Fantasy fiction, comic books, anime, video games, literature, professional storytelling and comedy, and even popular science writing all commonly incorporate elements from tradition or draw on basic folklore genres to inform their structure. Through three primary modes—integration, portrayal, and parody—the collection offers a set of heuristic tools for analysis of how folklore is increasingly used in these commercial and mass-market contexts.The Folkloresque challenges disciplinary and genre boundaries; suggests productive new approaches for interpreting folklore, popular culture, literature, film, and contemporary media; and encourages a rethinking of traditional works and older interpretive paradigms."
Are you keeping up with modern security practices? This anthology collects articles first published in php architect] magazine. Each one touches on a security topic to help you harden and secure your PHP and web applications. Your users' information is important, make sure you're treating it with care. This anthology includes: An overview of the attacks you should be familiar with and how to protect against exploits. Using a PHP-based Intrusion Detection System to monitor and reject requests that attempt to breach your site. How to protect against Injection from user-supplied data by using prepared statements. A case study in how the Drupal security team keeps core and contributed modules safe. How to securely store passwords and understanding the techniques used to crack credentials. Using OAuth 2.0 to connect to web services and fetch information for your users without asking for a password. How web service security differs from traditional web application security and advice for effectively protecting one from malicious users. Identifying the right kind of cryptography to implement in your application and doing it correctly. Each month in php architect] magazine, experts from the PHP community and wider web development community share their knowledge and experience with our readers. Leverage their expertise in building and protecting websites for all types of organizations.