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.
Slide 2
Slide 2 text
INTRODUCTION
HAFAD SEPTIYAN
Student of brawijaya university.
M.FAHMY RUSZALLY
Student of brawijaya university.
Slide 3
Slide 3 text
TALKING
POINTS
What is Laravel
Why we need pattern for development
What is DDD pattern
Quick example using DDD
Slide 4
Slide 4 text
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.
Slide 5
Slide 5 text
Why we need
pattern for
development?
Mai ntenabl e,fast,cl ean
code.
Slide 6
Slide 6 text
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.
Slide 7
Slide 7 text
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."
Slide 8
Slide 8 text
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.
Slide 9
Slide 9 text
QUICK EXAMPLE
DDD
Slide 10
Slide 10 text
LET'S CODE
Slide 11
Slide 11 text
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.
Slide 12
Slide 12 text
TALK TO US
WA
[email protected]
085743331843 - Hafad
https://github.com/hafadseptiyan
/nbc_meetup11
EMAIL ADDRESS
REPOSITORY
08990369133 - Fahmy
[email protected]