I read on CQRS and I believe that many of the principles are valuable. However, I have one serious point of view. Many people say that readable model queries are directly displayed to view the dtos model. So far, so good. However, where does the “one table or one sample per view” that I constantly hear come from? Of course, some map screens 1-1 are very easy. But I regularly work with some complex screens that would include multiple selections for things like help data in drop-down lists, widgets, etc.
I could easily see that my views needed several choices, perhaps some of them have a mix or two.
How can you avoid this, besides working with ideal world scenarios, where your views are simple and flat?
source
share