Hacker News new | past | comments | ask | show | jobs | submit login

It’s “Domain Driven Design”: https://en.m.wikipedia.org/wiki/Domain-driven_design.

Bounded Contexts is an idea that helps you draw the boundaries between domains. It asks you to be disciplined in your abstractions, and in return it allows you to feel comfortable changing implementations within a domain without fear of cascading second order effects to other domains.

For example, your service/library for managing customers shouldn’t return data about the books they’ve purchased. That comes from the order context, which composes the customer and book contexts.

If your boundaries are well defined, you can change the order process without fear of the book and customer models, and vice versa.

It marries well with service oriented architecture, because you can use the network to help enforce a boundary. You still need some skill to enforce the correct boundary, of course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: