I have successfully separated backend and frontend following this article.
Also I am having two different login forms for backend and frontend but using same UserIdentity Component for authentication at both ends.
I want to know how I can use same controllers for both backend and frontend (using this directory structure).
The reason I want to have common controllers is that there’s only admin and delete action to which front users have no access. So having two copies of same controllers seems to be redundant.
If you refer to my another post (similar edited one) ‘Common Controllers For Backend And Frontend’, my controllers are inside controllers/back and controllers/front
I am having say 10 controllers common to both end, except user controller to which front users don’t have access, thats why I don’t want to have two copies of same controllers in front and in back.
I think you were better off following this article which also covers resources shared between front- and backend. If you need an example, have a look at clevertech’s YiiBoilerplate.