I am rebuilding an old multi module application with Phalcon, but I can't figure out the Routes.
This is how I have the folder structure: http://i.imgur.com/jhovFSI.jpg
I will have 3 modules: Rest, Frontend, Backend. I would like to have the "Models" shared to all of the modules.
I can't figure out the "Default" / "ClientJhon" folder structure inside "Models" or "Controllers".
Depending on the user login data or the Rest call authorization, a client might have a different structure, so I should load his "Controllers" / "Models".
Can somebody help me out with the Routes? Or give me something similar.