Embedded Nature

Embedded Nature

Share

We develop mobile applications, websites, provide digital marketing solutions, offer suggestions to technology choices, and provide solutions to unsolved technology problems. Through the web Embedded Nature educates people on how to utilize emerging technologies such as cryptocurrencies. We can create a positive outlook to help accelerate lives and achieve personal and business success. Being part

02/03/2024

🧠 Take ownership of your learning journey. Identify areas of interest and expertise, and actively seek resources, books, courses, mentors, and my newsletter πŸ—žοΈ to expand your knowledge and skills.

To learn more, click the link in my bio. πŸ‘†πŸΎ

08/14/2021

COMMAND QUERY RESPONSIBILITY SEGREGATION

β€œEvery method should either be a command that performs an action, or a query that returns data to the caller, but not both.”

CQRS
You should have a strict separation between the Write Model and the Read Model. Those two models should be processed by separate objects and not be conceptually linked together.
β€£ Think of CQRS as cutting your model and API into vertical slices, which you should.

Each command/query handler is a separate silo.

Commands
Commands are interactions that perform changes to the service. E.g. update the address of this customer or add a new orderline to an order.
β€£ Both HTTP and messaging can be used to accept commands

Queries
Queries retrieve data without changing the state of the service. E.g. get the list of customer addresses or get all the details for this order.
β€£ Queries are mostly implemented over HTTP.
β€£ GraphQL or restQL will do

Gotta love data patterns 😁.

Follow the journey ⚑️🌱.

Want your business to be the top-listed Computer & Electronics Service in Minneapolis?
Click here to claim your Sponsored Listing.

Address


Minneapolis, MN