Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Domain Driven Design Pattern on Laravel

Using Domain Driven Design Pattern on Laravel

Ngalam Backend Community

October 28, 2019
Tweet

More Decks by Ngalam Backend Community

Other Decks in Programming

Transcript

  1. O C T O B E R 2 8 ,

    2 0 1 9 Using Domain Driven Design Pattern On Laravel let's code,anytime, anywhere.
  2. TALKING POINTS What is Laravel Why we need pattern for

    development What is DDD pattern Quick example using DDD
  3. What is Laravel? Laravel i s a free, open source

    PHP web appli cati on framework, desi gned for the development of model– vi ew–controller (MVC) web appli cati ons wi th many features. Better Routi ng, beauti ful syntax.
  4. DDD(DOMAIN-DRIVEN DESIGN) DDD(DOMAIN-DRIVEN DESIGN) Domain-Driven Design (also known as DDD)

    is an approach to software development for complex needs by connecting the implementation to an evolving model. This architectural pattern was created by Eric Evans.
  5. WHAT IS DOMAIN MODEL ? A Domain Model = perception

    of the context in which it applies . Model means your solutions to the problems of Domain. . Eric Evans believes: "Developing a good domain model is an art."
  6. There are two things you should know before to see

    our DDD approach - The l aravel i s yours, i t comes wi th a standard skel eton but you can modi fy i t' s defaul t structure for the best approach to your need. - There i s no "ri ght way" to make a DDD structure, i t i s a conti nuous process of i mprovements that you wi l l l earn and adapt over ti me.
  7. CONCLUSION There is no "right way" to do a DDD

    structure, after learning about this pattern, you have to keep evolving to get the best productivity.