can we change application structure of yii2 framework

i wnt to implement backend inside protected folder as per my requirements.

frontend outside the protected folder.

plz giv me suggestions how to customize yii2 framework directory structure according to me.

giv some eg if u hav. thnks…

can we change application structure of yii2 framework

yes

Read: http://www.yiiframework.com/doc-2.0/guide-structure-overview.html

To get basic understanding.

Read: https://github.com/yiisoft/yii2/issues/2939

To get ideas.

Or download this:

http://www.yiiframework.com/extension/yii2-improved-advanced-template/

And look how they did it.

Also please don’t double post when you do not receive an answer withtin minutes!

Seems like nearly the same question like here:

http://www.yiiframework.com/forum/index.php/topic/67607-customize-yii2-framework-according-to-us-requirment-how/

[color="#006400"]/* topics merged */[/color]

Generally speaking, you should not alter the directory structure of the template, except when you have a very good reason to do that … IMO that would be a very rare case.

By following the standard directory structure you can make your development process much easier. Just for an example, it will be easier for you to find someone that can help you, since the standard structure will make your app much easier for others to understand.

Are you worrying about the access control of your protected sources and data? Then you should note that it’s not a problem of directory structure. You can protect your code and data by other means.

Or, are you worrying about the urls of your frontend and backend? Then you should learn the difference of a web url and a file system path.