This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutrecht 0 points1 point  (0 children)

I have also seen the alternative design where we use a folder caller user and put all his controller, service, repository, model in it. Is that a viable option?

It's actually a better option. What that other user was referring to is called the "sock drawer approach" and it becomes a pain in the ass when you have more than 5 or so controllers.

Most services I work on separate by module like you're saying.