Learning PHP Design Patterns

Learning PHP Design Patterns

4.11 - 1251 ratings - Source

Build server-side applications more efficientlya€”and improve your PHP programming skills in the processa€”by learning how to use design patterns in your code. This book shows you how to apply several object-oriented patterns through simple examples, and demonstrates many of them in full-fledged working applications. Learn how these reusable patterns help you solve complex problems, organize object-oriented code, and revise a big project by only changing small parts. With Learning PHP Design Patterns, youa€™ll learn how to adopt a more sophisticated programming style and dramatically reduce development time. Learn design pattern concepts, including how to select patterns to handle specific problems Get an overview of object-oriented programming concepts such as composition, encapsulation, polymorphism, and inheritance Apply creational design patterns to create pages dynamically, using a factory method instead of direct instantiation Make changes to existing objects or structure without having to change the original code, using structural design patterns Use behavioral patterns to help objects work together to perform tasks Interact with MySQL, using behavioral patterns such as Proxy and Chain of Responsibility Explore ways to use PHPa€™s built-in design pattern interfacesThe MobileSniffer class begins with the same user agent information, but the class makes it available in more useful ways ... alt;?php //User agent as property of object class MobileSniffer { private $userAgent; private $device; private $browser ;anbsp;...

Title:Learning PHP Design Patterns
Author:William Sanders
Publisher:"O'Reilly Media, Inc." - 2013-02-11


You Must CONTINUE and create a free account to access unlimited downloads & streaming