Hi everyone. I have a functionality that needs to be implemented both as a standalone app (for users with restricted access) and as a module in the main app (for users with full rights access).
In the effort of code reuse (and laziness, of course), I'd like to implement the functionality once and pack it as a standalone application and as a module to be loaded inside the main app. I am in the middle of the process of thinking how to achieve this, and would appreciate any suggestions the community here might have to offer. I thought of packing it as a module and make both main app and restricted app load it as a module - that seems the obvious approach, but I'm curious if there are more elegant ways to resolve this. Thanks, Sefi

