Timeline for Getting the UI to know about Business Rules for Form Controls
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 9, 2021 at 16:21 | comment | added | John Wu | Validation of data entry is one of those things where everyone starts out trying to make it pure and clean and (if they're smart about it) eventually gives up, because there are so many competing concerns. See this answer. | |
| Sep 9, 2021 at 15:37 | comment | added | Greg Burghardt | @HardCode: that is the same page I linked to. CQS talks about commands as methods on an object that modify state being separate from methods that return a value. CQRS involves splitting classes up when logic that modifies state or returns a value becomes complex enough that it warrants specialized classes. They are different, but related concepts. | |
| Sep 9, 2021 at 12:56 | comment | added | HardCode | @GregBurghardt CQS is Command Query Separation, which also involves commands. They are similar, but different. martinfowler.com/bliki/CommandQuerySeparation.html | |
| Sep 9, 2021 at 2:24 | comment | added | Greg Burghardt | @RikD: maybe the OP meant CQRS (Command-Query Responsibility Segregation)? CQS is a little different, and I thought CQRS involved commands like the OP mentioned in this question. | |
| Sep 9, 2021 at 0:00 | history | tweeted | twitter.com/StackSoftEng/status/1435754848012673029 | ||
| Sep 8, 2021 at 20:34 | comment | added | Greg Burghardt | "... things like, "Can't check Completed until Receive Date has a value." and "Can't check Completed if not in the Manager role." are business rules" — those would be used interface rules. The business rule would be "a product return cannot be completed without a return date, and only managers can complete product returns." The UI should respond to this logic by disabling the checkbox. | |
| Sep 8, 2021 at 19:46 | answer | added | Ewan | timeline score: 0 | |
| Sep 8, 2021 at 16:49 | answer | added | Robert Bräutigam | timeline score: 1 | |
| S Sep 8, 2021 at 16:35 | history | suggested | CommunityBot | CC BY-SA 4.0 |
structure, undesirability, more improvements
|
| Sep 8, 2021 at 16:30 | review | Suggested edits | |||
| S Sep 8, 2021 at 16:35 | |||||
| Sep 8, 2021 at 15:41 | history | edited | HardCode | CC BY-SA 4.0 |
edited body
|
| Sep 8, 2021 at 15:41 | comment | added | HardCode | @RikD I meant CQS. I'll update the post. Thanks. | |
| Sep 8, 2021 at 15:37 | comment | added | Rik D | I’m not familiar with the CQR abbreviation, what does it stand for? | |
| Sep 8, 2021 at 14:38 | history | asked | HardCode | CC BY-SA 4.0 |