Born before Internet, started as "webmaster", now supporting people mastering it.
I was shaped by XP methodology & DDD architectures. Open source enthusiast.
Hi Quentin, as usual « it depends » :)
We always need the context to try to address it.
If you are into translation or email marketing business and e-mail is one of your product, well it’s probably in your core domain, following many rules, invariant and logic.
If you are into ad with url proxy or url shortener with stats or even SEO optimisation business, maybe url generation will be in your core domain.
If not, it might be considered infrastructure. What’s in the domain depends strongly on business requirement about the concept (email, url). Does it needs to « mutate » following an advanced state logic ? DDD might be worth the upfront cost and complexity.
Otherwise simple CRUD does the job.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For you, is stuff related to emails, translation, url generation has to be in Domain? If yes how to handle it?
Hi Quentin, as usual « it depends » :)
We always need the context to try to address it.
If you are into translation or email marketing business and e-mail is one of your product, well it’s probably in your core domain, following many rules, invariant and logic.
If you are into ad with url proxy or url shortener with stats or even SEO optimisation business, maybe url generation will be in your core domain.
If not, it might be considered infrastructure. What’s in the domain depends strongly on business requirement about the concept (email, url). Does it needs to « mutate » following an advanced state logic ? DDD might be worth the upfront cost and complexity.
Otherwise simple CRUD does the job.