Design Patterns in PHP and Laravel
- Length: 238 pages
- Edition: 1st ed.
- Language: English
- Publisher: Apress
- Publication Date: 2017-01-28
- ISBN-10: 1484224507
- ISBN-13: 9781484224502
- Sales Rank: #3087797 (See Top 100 Books)
This book teaches you design patterns in PHP and Laravel using real-world examples and plenty of humor. Too often design patterns are explained using tricky concepts, when in fact they are easy to use and can enrich your everyday development. Design Patterns in PHP and Laravel aims to break down tricky concepts into humorous and easy-to-recall details, so that you can begin using design patterns easily in your everyday work with PHP and Laravel.
You will learn each of the original gang of four design patterns, and how they are relevant to modern PHP and Laravel development. Each pattern is covered with full examples of how it can be used. Written by a working developer who uses these patterns every day, you will easily be able to implement each pattern into your workflow and improve your development.
What You Will Learn
- How to use the original gang of four design patterns in your PHP and Laravel development
- How each pattern should be used
- How to solve problems when using the patterns
- How to remember each pattern using mnemonics
Who This Book Is For
The person who will buy this book is likely using Laravel and PHP to do their job. They want to improve their understanding of design patterns.
Table of Contents
Chapter 1: Laravel Basics
Chapter 2: Let’s Grow a SOLID Garden
Chapter 3: Abstract Factory
Chapter 4: Builder
Chapter 5: The Factory Method
Chapter 6: Prototype
Chapter 7: Singleton
Chapter 8: Simple Factory Method
Chapter 9: Adapter
Chapter 10: Bridge
Chapter 11: Composite
Chapter 12: Decorator
Chapter 13: Facade
Chapter 14: Flyweight
Chapter 15: Proxy
Chapter 16: Chain of Responsibility
Chapter 17: Command
Chapter 18: Interpreter
Chapter 19: Iterator
Chapter 20: Mediator
Chapter 21: Memento
Chapter 22: Observer
Chapter 23: State
Chapter 24: Strategy
Chapter 25: Template Method
Chapter 26: Visitor
Chapter 27: More Resources