This is database structure. It is used to build simple cms in asp.net mvc. Before I run deeper into developing site, I want to make sure if this would be "correct" web structure:
Articles:
- Controllers folder: Create controllers ArticleCategoryController and ArticleController
- Models folder: ArticleCategoryRepository and ArticleRepository
- View folder: ArticleCategory folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx); Article folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx)
Photos:
- Controllers folder: Create controllers PhotoAlbumController and PhotoController
- Models folder: PhotoAlbumRepository and PhotoRepository
- View folder: PhotoAlbum folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx); Photo folder (Create.aspx, Edit.aspx, Index.aspx, Details.aspx)
and so on...
Is there a better way or this is ok?
Thanks.
Ile