Alien Padilla Rodriguez
1 min readSep 4, 2019

--

Hi, I like your article, but new questions arise about folder structure:

The folder modules contain all our modules aplication and every module belongs to an application domain then:

1- Why I need to put all service for http comunications out from module in the folder core/http? I mean, I supouse that each module into folder modules need having its own services, models and interface and so on, because they are a domain of application or workflow and is more easy locate our code in this domain.

Inmagine that I have a project about Shopping with several areas: hardware, clothes and perfumery. Is not more easy and modular that each area (that represent a module into modules folder) contain its own services, models and interfaces. If I do this, is more easy copy the entire module and put it in other project because it is independent and I only need to import the module into the new project.

--

--

Responses (1)