fflib-apex-common icon indicating copy to clipboard operation
fflib-apex-common copied to clipboard

Interactor Class? (Discussion)

Open nhall97 opened this issue 4 years ago • 0 comments
trafficstars

Is there space for the interactors principle within the world of Salesforce?

Uncle Bob: https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html Blog with examples: https://fullstackmark.com/post/11/better-software-design-with-clean-architecture

The point being that leaky controllers do not always help us keep track of database inserts etc. The space I see this fulfilling is the space of a Selector, but for database interactions such as write/delete/update etc.

Perhaps there is a better space for this discussion, but thought it would be good to start here.

Nathan

nhall97 avatar Jul 20 '21 11:07 nhall97