What is the best and the most right way to separate front-end and back-end with Yii framework?
There's no offical way to do this in Yii 1.x, but there are several approaches.
Have a look at yiinitializer advanced, to get an impression how frontend
and backend
are separated here. They are more or less two applications sharing a common
folder.
My project Phundament takes a simpler approach, just by switching themes depending on controller routes with the multi-theme extension.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With