ddd part 2 modelling qiscus

23
DDD Part 2 Modelling Qiscus

Upload: bincangteknologi

Post on 06-Aug-2015

260 views

Category:

Technology


0 download

TRANSCRIPT

DDD Part 2Modelling 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 DDD2. How i learn (googling) DDD ~ References3. How i implement DDD4. Modelling Qiscus5. Quotes~ end

Disclaimer

1. DDD ~ No stop learning2. DDD ~ Many ways3. @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. Github4. @Angga

How I Implement DDD

CORE INFRA APP

Core

Describe domain & modelling

modelling rules:1. No framework2. No dependency library3. 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 DomainQiscus 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.

ActivityAktifitas 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 ~