I’ve been working with Django for a while but now I’ve to switch to Zend.
My question is: When creating a new module, ie “Backend”, I have for example 3 different model classes I need to manage in this backend. Do I put all the files in Backend/src/Backend/… or do I just a structure like this: Backend/src/Class1/… Backend/src/Class2…
At first I thought of a module as something similar to a Django app. But if I fork it further, it would be something like a super-app…?
Assuming you do mean ZF2 and not ZF1 from your question’s details:
The class namespace determines the path inside the src folder (by default). You may place the files as you like but for the autoloader to work and for others to easyly understand it would be wise to follow this convention.
Example: