Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8715401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:50:06+00:00 2026-06-13T05:50:06+00:00

In attempt to understand CQRS I created a small application which has Command Executor

  • 0

In attempt to understand CQRS I created a small application which has Command Executor and event source. By my understanding the changes in domain model are triggered through commands. The domain model then generates the events to update the read model using denormalizer.

But in many cases there may be updates which are non-trivial for the domain. Like user changing his own profile picture. For requirements like these, what is the best way to implement?

I believe that using command will be overkill because the domain model as such doesn’t change.

I tried to search for this question but didn’t find the answer…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:50:07+00:00Added an answer on June 13, 2026 at 5:50 am

    Don’t mix CQRS and CRUD. Either the Bounded Context is suitable for CQRS or it’s not. Your pet project probably isn’t. But once you decide to apply the CQRS architecture style, you should stick with it.

    Commands are trivial. And since you’re already using Event Sourcing as well (which is not a prerequisite for CQRS btw.) you shouldn’t bypass it for single use cases. Things rapidly become quite messy once you have multiple philosophies in place.

    As far as directly writing to the Read Model goes: What if your Read Model goes out of synch, gets corrupted or must be modified and you have to rebuild it? If there’s no related event, how should the Read Model know that something happened then?

    There is one thing you can bypass if there’s no domain behavior: You can just use a Transaction Script (POAA) in your command handler and publish the event from there without invoking the domain.

    Long story short: You can happily mix styles in multiple isolated parts of your application (i.e. CQRS in one BC, CRUD in another) but inside a single BC you should stay consistent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an attempt to understand what occurs underneath I am making small C programs
Background: I have a self-taught hobbyist level of understanding of C++, which has translated
In my continuing attempt to understand how pseudo-terminals work, I have written a small
I am attempt to understand the logic behind whatever trips the 'blocking' mechanism for
In an attempt to understand if W3C validation can assist better DOM rendering or
in an attempt to see and hopefully understand actionscript's garbage collector, i've set up
In an effort to understand MVC 2 and attempt to get my company to
I'm trying to understand the Repository Pattern , while developing an ASP.NET MVC application
I am in the process of developing a .NET application which relies on an
In an attempt to better understand tables for future use, I was hoping somebody

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.