Orchestrating commands and queries — Part of Bitesize software building blocks series. Rule of thumb Encapsulate comand and queries behavoirs in use-case modules. In previous posts, I mentioned different modules such as Services, Repositories, Helpers… Each one has a role to play, but we need them all to interact in order to achieve meaningful feature behavior — a command or a query. A Use-case is a module that orchestrates multiple modules into a single logical flow. In other words, use-cases implement the high-level behavior of a system subdomain.