What is the difference between module inside the app and outside the app

I have a core module which is producer module and the consumer module (the Main Mobile App).

I just want to know the difference that if I create producer module inside the same app or if I create in separate application outside the app.

Hi Manish,

You can consume modules from different applications. In that respect there is no difference if the module is in the same application or not. 

Where it does matter is that the unit of deployment from your development environment to other environments is the application. So if your producer module is in another application, and for example you added a new public action to it that is consumed by a module of another application, than both applications need to be deployed.

Like with modules, using the 4 layer canvas you can ensure good application architecture at the application level.

See Applying the 4 layer canvas to applications for more information.