1

Topic: Architecture (?) guestion

Hello,

I was thinking if it is a good thing to put all in modules. I mean that for example if I put stuff, like logins and user management to user module, article management to article module and so on, even if there's only few or only one controller etc in a module. That way I can keep things organized. Now I have many different kinds of controllers in my default module.

What pros and cons there are doing things this way?

2

Re: Architecture (?) guestion

modules provide another way of delineating structure in your code. If you only have 1 or 2 controller's per module, you might be over-architecting your application. They aren't required for all applications. As your application grows over time, moving over to a modular structure isn't all that difficult.