0%

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

  1. Cover
  2. Frontmatter
  3. 1. Laravel Basics
  4. 2. Let’s Grow a SOLID Garden
  5. 3. Abstract Factory
  6. 4. Builder
  7. 5. The Factory Method
  8. 6. Prototype
  9. 7. Singleton
  10. 8. Simple Factory Method
  11. 9. Adapter
  12. 10. Bridge
  13. 11. Composite
  14. 12. Decorator
  15. 13. Facade
  16. 14. Flyweight
  17. 15. Proxy
  18. 16. Chain of Responsibility
  19. 17. Command
  20. 18. Interpreter
  21. 19. Iterator
  22. 20. Mediator
  23. 21. Memento
  24. 22. Observer
  25. 23. State
  26. 24. Strategy
  27. 25. Template Method
  28. 26. Visitor
  29. 27. More Resources
  30. Backmatter
13.59.100.42