Back-end + members area + front-end

I have read the articles on the different ways to set up the folders for a potential back-end + front-end set up.

However I am not really sure which to use and want to get it right before proceeding.

It seems there are a few options…

  • The admin area and members area as their own application which appears here:

http://www.yiiframework.com/wiki/155/the-directory-structure-of-the-yii-project-site/

  • The other seems to just add it as another folder under /protected/

http://www.yiiframework.com/wiki/33/organize-directories-for-applications-with-front-end-and-back-end

Are these the only two ways suggested?

What are the advantages/disadvantages of each?

This would be for a fairly large web application which is distributed to end users.

Thanks!

I mentioned some other approaches in this topic: http://www.yiiframework.com/forum/index.php/topic/27466-best-approach-for-backend-frontend-development-in-yii

Well we plan on having a pretty different back-end. But we will also have a members area which is a part of the front-end. So possibly the admin area as its own application but then the members area as a module?