I’ve been following Yii2 since quite some time and after Public Preview thought to give it a try. In particular I liked the advanced application structure and thought to move ahead with it.
However, while installing, realized that accessing frontend & backend is done via
Not sure I understood. Which source code (can you elaborate)?
Only the index.php will move to webroot (along with the runtime assets folder from the frontend/web). All other structure remain exactly the same as the yii2-advanced app (the same security should hold good IMO). Its only config file locations change.
Why not using URL rewrite similar to ZF2 where module application is default even if you don’t mention it in the URL. I’m just asking i don’t have any idea how it’s handled in YII2 because i didn’t have enough time to analyze it.
'components' => [
'urlManager' => [
// here is your normal backend url manager config
],
'urlManagerFrontend' => [
// here is your frontend URL manager config
],
],