Separate interface and backend with Yii system

What is the best and most correct way to share the interface and the interface with the Yii infrastructure?

+7
source share
2 answers

There is no natural way to do this in Yii 1.x, but there are several approaches.

Take a look at yiinitializer advanced to get the impression that frontend and backend are separated here. These are more or less two applications sharing a common folder.

My Phundament project takes a simpler approach by simply switching themes based on controller routes using multi-theme .

+3
source

See a good article here http://habrahabr.ru/post/117457/ .
The English version is available here: http://www.yiiframework.com/wiki/63/organize-directories-for-applications-with-front-end-and-back-end-using-webapplicationend-behavior/
Its main goal is to establish special behaviors.
I like this way the most.

0
source

All Articles