4 ms·
It is a common pattern in many "enterprisey" java applications I've been part of and was called "service layer" (coarse grained, fine grained etc). This smells
by neeleshs 14y ago
It is a common pattern in many "enterprisey" java applications I've been part of and was called "service layer" (coarse grained, fine grained etc). This smells like old wine in a new bottle.
EDIT: I have to give credit to the author to bring this in to the Rails apps, he's right that Rails encourages to think in terms of controllers,models and helpers.
- stcredzero 14y agoThis smells like old wine in a new bottle. Well, the use case for wine today is much the same as it was in ancient Rome. Someone needs to curate all of the pitfalls of rapid dynamic development environments into one book. This would be of tremendous benefit to developers farsighted enough to learn from history.
- n72 14y agoAgreed, Interactors are pretty much what Eric Evans calls Domain Services in Domain Driven Design.