Timeline for Should business logic be in the app or in the backend?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2019 at 15:03 | vote | accept | Ludvig W | ||
Jun 28, 2019 at 21:22 | comment | added | just me | @LudvigW to be honest I don't have much knowledge of Clean Architecture in particular. This answer comes from constraints and considerations for software in general. But if you want to keep things in a CRUD format, what about turning "purchase movie ticket" into a CREATE on a MovieTicketPurchase repository? Just a thought, not sure if it's applicable to your case. | |
Jun 28, 2019 at 21:11 | comment | added | Ludvig W | Could you perhaps elaborate a bit more on why most examples on Clean Architecture only mentions CRUD repositories? And would it be against repository pattern to have such a method like purchaseMovieTicket() or should repository pattern only have CRUD operations? | |
Jun 28, 2019 at 20:58 | history | answered | just me | CC BY-SA 4.0 |