Modules – app file hierarchy
- netteman
- Member | 129
Hi,
I created my Admin and Front modules and everything works. I'd like to ask if I can use the following file hierarchy (which works) or if I run into problems soon:
app/
AdminModule/
presenters/
FrontModule/
presenters/
config/
forms/
model/
router/
(this file hierarchy is based on various tutorials I found on the internet)
Thanks :)
Last edited by netteman (28. 4. 2017 20:10)

- JZechy
- Member | 161
@netteman There is nothing wrong about it.
But, with experiences from work, I can suggest this:
- Consider creating components/forms folders for each module. You can be in situation where you want write components only for admin/front/… It is good seperate them.
- You can consider too creating config files for each modules. But this is most usefull in situation where can be in need for seperating modules anywhere else.
RSS feed
Topic closed