[eluser]JamieBarton[/eluser]
Hi guys,
I'm wondering how to do this with CI:
I'm wanting to know how I can arrange my files/controllers with features on the site.
My site will be like a photo gallery, that shows all albums uploaded by family members on a page to view all albums, and a page to show albums by the user.
Features of albums will be:
- Create album
- Edit Album
- Delete Album (Probably will be ajax based on click with confirmation)
Features of the photos will be:
- Upload Photos
- Edit Photos
- Delete Photos (Probably will be ajax based on click with confirmation)
Now, if I wanted to:
- View albums uploaded by all family members (family_id) - Each user has a family_id
- View albums uploaded by user
- View Photos in album - Thumbnail view listing - (selected above)
- View Individual Photo - When clicked from thumbnail
What would be the best way of setting out the controllers for this?
I see on this forum to edit a reply etc.. is /forums/editreply/ID, theres a lot like that, but are they using Routes? I can't imagine there being separate controllers for all of those?
Any help would be appreciated and remember I'm very new to CI and MVC.
Regards,
Jamie