What are the design patterns that we can use in large projects with Laravel 5 ? is there any good tutorials or books to learn those design patterns ?
-
Containers, Subsriber, Visitor and plainty others design pattern are used in Laravel. You can them as well too. You can still check this book : https://goo.gl/hQ0IVP – ChainList Jun 01 '15 at 12:48
-
**thank you** so much – undefined Jun 01 '15 at 23:47
1 Answers
Building a large project can't be solved by just applying some design patterns, you need to dive a little more deeper and learn about architectural patterns, to find which one is the closest to your project case, and apply it. In most of the times you can merge multiple architectural patterns together to get a full solution.
Design patterns: Solves re-occurring problems in software construction.
Architectural patterns: Fundamental structural organization for software systems.
For more details about design patterns you can check this nice article http://www.mahmoudzalt.com/blog/software-design-patterns/
However I will list to you some of the interesting Architectural Patterns that I used to apply before coming with my own one
- Ports and Adapters (Layered Architecture)
- Hexagonal Architecture
- Onion Architecture
- Clean Architecture
- Domain Driven Design Pattern
- CQRS (Command Query Responsibility Segregation)
- Event Sourcing
- Use Case Driven Development or use case architecture
- Command oriented interfaces
- Domain-events
- Repository Pattern
Micro-Services Architecture Pattern
layered architecture pattern
(monolithic architecture)
service oriented architecture
(distributed applications architecture)
- IODA Architecture

- 30,478
- 7
- 87
- 83