I’ve now worked with my own modules quite a lot. One thing I soon realized is that when making quite comprehensive extensions, you tend to overload a lot of core modules. To keep the code maintainable and easy to read I’ve used a folder structure looking like this when overloading core modules:
However, I’ve also thought about having this kind of structure (it doesn’t ‘feel right’ though):
What kind of structure do you recommend (i.e. what convention should I and the community stick to)?