when you write in worry, which means that you are making one module. My opinion is a concern, and the module will be similar. The concern may appear somewhere as a model, controller, and here you can write a module for yourself. And with the general module it is written to the lib folder. Both can be used by inclusion or expansion in a class.
source share