Using design patterns in laravel 5

What are the design patterns we can use in large projects with Laravel 5? are there any good tutorials or books to learn about these design patterns?

+3


source to share


1 answer


Building a large project cannot be solved by applying some design patterns, you need to dive a little deeper and learn about architectural patterns to find which one is closest to your project and apply it. In most cases, you can combine multiple architectural patterns together to get a complete solution.

Design Patterns: Solves emerging problems in software development.

Architectural Models: A fundamental structural organization for software systems.



For more details on design patterns you can check out this nice article http://www.mahmoudzalt.com/blog/software-design-patterns/

However, I will tell you about some interesting architectural patterns that I used before coming with my own

  • Ports and Adapters (Layered Architecture)
    • Hexagonal architecture
    • Onion architecture
    • Clean architecture
  • Domain Driven Design Pattern
  • CQRS (Command Response Segregation)
  • Event Sourcing
  • Using Case Driven Development or using Application Architecture.
  • Command-oriented interfaces
  • Domain events
  • Repository template
  • Microservice architecture architecture

    • layered architecture structure

      (monolithic architecture)

    • service oriented architecture

      (distributed application architecture)

  • IODA architecture
+7


source







All Articles