Upload
hiraq-citra-m
View
84
Download
1
Embed Size (px)
Citation preview
DDD Part 2
Modelling Qiscus
Me
twitter : https://twitter.com/_hiraq
facebook: https://www.facebook.com/hiraq
linkedin: http://id.linkedin.com/in/hiraq
Backend Dev @Qiscus
Agenda
1. Why I Learn DDD
2. How i learn (googling) DDD ~ References
3. How i implement DDD
4. Modelling Qiscus
5. Quotes
~ end
Disclaimer
1. DDD ~ No stop learning
2. DDD ~ Many ways
3. @Angga bro ~ Dosen Pembimbing
1. Why I Learn DDD
What is Geek?
“Understand, creates & fixes really cool stuff”
~ GeekHierarchy
Understand ?
“serious..”
vs
“sirius..”
GeekHierarchy
Understand -> creates -> fixes
DDD is about...
“how do we know and understand about
domain model…”
Why I learn DDD ?
“to understand”
~ ASAP (As Simple As Possible)
How I Learn (Googling) DDD
References:
1. Microsoft (MSDN)
2. http://culttt.com/
3. Github
4. @Angga
How I Implement DDD
CORE INFRA APP
Core
Describe domain & modelling
modelling rules:
1. No framework
2. No dependency library
3. PO*O (Plain Object * Object)
Infra
Implement domain modelling with real solution /
library
App
Include & manage core & infra inside
framework (or not framework)
Benefits?
FREE TO TEST!
Modelling Qiscus
READY?
BeforeStart
“What you see is not what you get”https://github.com/hiraq/qiscus-model
Describe Domain
Qiscus adalah aplikasi Entreprise Chat Room based. Ketika pertama kali login, per User akan
diredirect ke Dashboard. Di dalam Dashboard ini User bisa membuat Room mereka sendiri. Setiap
Room, bisa memiliki beberapa Topic.
Setiap Room memiliki Topic. Setiap Topic bisa banyak Message. Ketika seorang User mempublish
Message, maka seluruh User yang subscribe dengan Topic itu akan mendapatkan Notifikasi.
Activity
Aktifitas User :
- Setelah login, User akan berada di Dashboard.
- Setelah berada dalam Dashboard, User bisa memilih Room.
- Setelah memilih Room, User bisa menambah Topic
- Setelah memiilh Topic, User bisa mengiirmkan Message
Aktifitas User dalam Room adalah :
- menambah Topic
Aktifitas User dalam Topic adalah :
- Chat. Mempublish message dalam setiap Topic di dalam Room
- Delete message
Extract!!
Show Me The Codes!!
Quotes
“PHP aja bisa…” ~ @Angga
~ end ~