Hi,
I am about to start creating a new project, but i want to lay it out correctly, so that i can add new functionality to it.
I would like to build it in modules, the first module i want to create is an authentification module. This is how i have laid it out so far
i have a default folder root which is
auth-0.9.0
in that folder i have he following folders
functions - holds the functions for auth
style - holds the css files
auth - holds pages such as login, register etc...
config - holds the configuration file for auth
As i have said i want to be able to code it in modules, but i am stuck on how do you link the two modules together, say i wanted to add a messaging module to this where would it go, originaly i thought it would be a seperate folder in the same dir as auth-0.9.0 and they would interact together, but this would mean creating another config folder, functions etc...
Or do i do it that way and then create a global config file, which includes all of the other files?
Can someone explain to me the best way as this is really starting to confuse me 😕