To save the author some work dear reader, imagine the 3 Spiderman meme. Fill in “Who owns client data validation?” as the title and label the Spidermans (Spidermen?) Controller/Service/Persistence. One place has to own that responsibility. Let’s say we had a bug where we accidentally allowed updating …
Read MoreThe primary point of good Software Design is to separate out what your code does from how your code does it. Being able to make this distinction in real time when coding is critical. Let’s explore. Core versus Shell Look hard enough in the right places and you’ll find the saying: ”Functional Core; Imperative …
Read MoreDriver and Service
Apr 30, 2024 · 8 min read · Driver/Service Code Antipatterns Garbage In; Garbage Out Multiple Hats ·Code has one of two roles: Add value to your business Drive the prior bullet point The first bullet point is usually called service code. It’s the service your company is being paid to do. The second bullet point can be one of many things, it could be controllers/webapps/etc. It can be cron jobs that perform …
Read More