Book description
Learn each of the original gang of four design patterns, and how they are relevant to modern PHP and Laravel development. 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. Each pattern is covered with full examples of how it can be used.
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.
This book teaches you design patterns in PHP and Laravel using real-world examples and plenty of humor.
What You Will Learn
Use the original gang of four design patterns in your PHP and Laravel development
How each pattern should be used
Solve problems when using the patterns
Remember each pattern using mnemonics
Who This Book Is For
People using Laravel and PHP to do their job and want to improve their understanding of design patterns.
Table of contents
- Cover
- Frontmatter
- 1. Laravel Basics
- 2. Let’s Grow a SOLID Garden
- 3. Abstract Factory
- 4. Builder
- 5. The Factory Method
- 6. Prototype
- 7. Singleton
- 8. Simple Factory Method
- 9. Adapter
- 10. Bridge
- 11. Composite
- 12. Decorator
- 13. Facade
- 14. Flyweight
- 15. Proxy
- 16. Chain of Responsibility
- 17. Command
- 18. Interpreter
- 19. Iterator
- 20. Mediator
- 21. Memento
- 22. Observer
- 23. State
- 24. Strategy
- 25. Template Method
- 26. Visitor
- 27. More Resources
- Backmatter
Product information
- Title: Design Patterns in PHP and Laravel
- Author(s):
- Release date: December 2016
- Publisher(s): Apress
- ISBN: 9781484224519
You might also like
book
Laravel 5.x Cookbook
A recipe-based book to help you efficiently create amazing PHP-based applications with Laravel 5.x About This …
book
Mastering PHP 7
Effective, readable, and robust codes in PHP About This Book Leverage the newest tools available in …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
PHP Objects, Patterns, and Practice, Fifth Edition
Aided by three key elements: object fundamentals, design principles, and best practices, you'll learn how to …