Good practice on how to isolate an Admin center

From my knowledge: a view is based on a controller and a controller should be based on a model.

I’m making a page that is made out of 2 parts: a basic page seen to users and an admin center. Now my question is, how should I do this correctly? Should I use the same controllers like on my basic page? But I want my admin page to be from a different url: basic: mypage.com/(controller/view) admin: mypage.com/admin/(controller/view).

I hope my post is understandable :)

Please help! Best regards

You can create an Admin app or an Admin module or an Admin controller or keep the same controller and use url rewriting or forget about separating administration from frontend and display admin controls depending on authorization rules.

What’s the correct way? They are all correct.

Thank you for your answer, I’ll keep this in mind :)