I'm learning ZF2 and I need some help. I am working in a company which has an intranet. We have lots of applications like newsletter, HR, website control, helpdesk, etc. Is it correct to put all the applications in the same ZF2 directory structure as if they were modules? Like this:
intranet/
/config
/data
/module
/helpdesk
/config
/src
/view
/HR
/config
/src
/view
/newletter
/config
/src
/view
Or it would be better if I put each application in a separated skeleton structure?
intranet/
/helpdesk
/config
/data
/module
/public
/vendor
/HR
/config
/data
/module
/public
/vendor
/newsletter
/config
/data
/module
/public
/vendor
The applications need to interact with each other, exchange data etc.