Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Separate frontend and backend with Yii framework [closed]

What is the best and the most right way to separate front-end and back-end with Yii framework?

like image 796
Dmytro Zarezenko Avatar asked May 24 '13 07:05

Dmytro Zarezenko


1 Answers

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.

like image 65
schmunk Avatar answered Oct 11 '22 00:10

schmunk