Re:Show HN: Rust Web Framework
by wesselbindt on Tuesday October 22, 2024 @07:56PM
(#41920001)
I think service is an overloaded term. It's so generic that you can probably attach dozens of meanings to it, but here's two: One interpretation is a piece of code that doesn't neatly fit in one domain object (domain service). The other is a piece of code grabbing stuff from the db, orchestrating some domain methods, maybe wrapping it in a transaction, and exposing all that as an endpoint (application service). I think one of you has one in mind and the other the other.
[ Parent
| on HN ]
At my last project, they did "service oriented development" and everything was either a service, a viewmodel or a test. For example aLogService, a ValidationService, or an AggregationService.
Re:Show HN: Rust Web Framework
by sodapopcan on Thursday October 24, 2024 @10:16AM
(#41935735)
> I think one of you has one in mind and the other the other.
This is very possible.