Basic VS Advanced

Hi

I have to make a webshop application where is retail, wholesale, admin and some other features. In Yii 1 it was easy - retail is frontend and then wholesale, admin etc. is modules. In Yii 2 im little bit confused. Should i use frontend, backend etc. system or just frontend and make modules?

And if to use advanced system, how is the right way to modifie folder structure to have final url’s like:

domain.com/ - frontend

domain.com/wholesale - wholesale system

domain.com/admin - admin system

probably the best approach would be the same you had with Yii 1, that is using modules.

Unless you expect to have more than one application running and serving at different addresses where the adavanced application shows you how it’s done.

Yeah, I thought so too. I just wanted that someone confirms it.