Best practices for administration area

Hi all,

I’m at the stage where I’m going to implement an admin area to my website…

My application isn’t finished but I thought I would see if I can get an admin area going before I do too much more coding…

My question is this:

What are the best practices for coding your models so that you can use them in both the admin and front-end of your website?

Or… is that even the best way to go. Do you just keep your admin and front-end models completely seperate. The issue I see with this is that you’re going against DRY principles.

Any input at all is appreciated. There’s probably many different ways of achieving this so I’m completely open to any ideas.

Cheers

Tom

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

as you see there… the models are read by the frontend and backend…