1
Reply

Object Orientated Noob. help needed conceptualizing idea

schmintan

schmintan

Oct 26 2010 12:30 PM
6.9k

Im new to thinking in an OO Fashion. im from a db background so procedural and functional methodologies are all i know.
Im writing a basic photo album in c# and asp.netand want it to be as Object Oriented as possible, purely for learning purposes.

Currently the objects i have are:

Photo. will contain a photo, description of photo and a path to the physical file.
Album. Can contain many photos.
User. Able to upload, delete photos.
One thing i am not sure of is in relation to uploading/deleting photos. Is this a method in the photo class? is it a method in the user class, as users delete/upload photos? Or is there a third class that im missing?

Answers (1)