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
Mastering PHP Design Patterns
Develop robust and reusable code using a multitude of design patterns for PHP 7 About This …
book
Full-Stack Vue.js 2 and Laravel 5
Learn to build professional full-stack web apps with Vue.js and Laravel About This Book End-to-end guide …
book
Domain-Driven Design in PHP
Real examples written in PHP showcasing DDD Architectural Styles, Tactical Design, and Bounded Context Integration About …
book
Beginning Laravel: A beginner's guide to application development with Laravel 5.3
Learn about dependency injection, interfaces, service providers, SOLID design, and more with practical and real-world code …