DEV Community


Discussion on: Use-case oriented rails applications

jonathanbruno profile image
Jonathan Bruno

What is the difference between use-case object and service object?

lucasprag profile image
Lucas Arantes Author

Sorry for the late response. I'd say the way you organize it. A service can be from getting data from a third-party API to a use case with business logic. When I was thinking about use cases in the blog posts as I tried to think about actual use cases that a product manager would define, not just a class that have one responsibility and one method to be call.

We all are always improving, so am I so I don't like this approach that much anymore, but there is a project call that I really commend you to check it out. Very interesting.

Forem Open with the Forem app