Help for custom structure

How to configure like yii 1 , application starting from root directory for frontend?




public_html

	//used by frontend and backend

	common/

	console/

	vendor/

	environments/	

	//

	//backend like yii 2 

	backend333/

		assets/

		config/

		controllers/

		models/

		runtime/

		views/

		web/

		widgets/	

	//frontend	

	assets/

	config/

	controllers/

	models/

	runtime/

	views/

	widgets/	

	//web in root

	themes/

		mytheme/

		css/..

		js/..

	index.php



Ideally you should have two separate domains for backend and frontend.

for eg:

frontend: www.yourdomain.com

backend: admin.yourdomain.com

For your current structure, basic application is perfect and can use the file structure as you used in yii1.