I use GIT with submidules, and I have hard times to organize my files. Develop, and use unit testing. So now, I use this organization for each module:
- src /
- test /
this is a great The idea seems like, but the problem is that when I do "GIT Submuted Ad" for a project, then I will have that path: project / module / news / src / index.php
source / The folder is actually problematic.
Should I put all my files only in the Module Route and should have a test / folder mixed in the source? I feel bad for you, what are you doing?
Edit: src / folder is problematic due to autoload I should not put "src" in all my class names ...
Post-text "itemprop =" text ">As long as your folder layouts can find your files in any way, the same is irrelevant. If you are using PEAR conference for mapping class names in your source files, you can include the src directory in the path or stack one second autoloader. Then you do not need to add SRC to class names.
Peer conference options must use a steady mapping between files and classes. Is there.
The stable autoloader approach is also used in SRC and test folders in that device, which includes and it is a convenient package.
To include subdomules, consider putting them in a lib or ext folder. How an example of this type might look, make sure you also see how to include different autoloaders Please.
Comments
Post a Comment