#Is it good to have multiple controllers in a single module?

5 messages · Page 1 of 1 (latest)

scarlet wagon
#

So I am seeing in my project we have 5 controllers in 1 module, is that a good practice?
situation
situation/group/company/contact
situation/group/company
situation/group
situation/restructuring-method

Is it better to have all of these be in 1 single controller situation ?
They are all using same service: situationService

fringe plover
#

What is easier to navigate? One giant file with everything, or multiple smaller files with more focused functionality?

scarlet wagon
#

I guess it is multiple smaller files with more focused functionality 😄

#

Thank you!

heady rune