Click here to Skip to main content
15,921,113 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Windows App and Web App. Where can the two meet. Pin
Ed.Poore8-May-07 12:05
Ed.Poore8-May-07 12:05 
AnswerRe: Windows App and Web App. Where can the two meet. Pin
led mike9-May-07 5:04
led mike9-May-07 5:04 
QuestionAsp.Net Database Usage vs Windows Application Database Usage [modified] Pin
Tristan Rhodes8-May-07 5:13
Tristan Rhodes8-May-07 5:13 
AnswerRe: Asp.Net Database Usage vs Windows Application Database Usage Pin
led mike9-May-07 4:44
led mike9-May-07 4:44 
GeneralRe: Asp.Net Database Usage vs Windows Application Database Usage Pin
Tristan Rhodes9-May-07 6:24
Tristan Rhodes9-May-07 6:24 
QuestionPlugIns - Preventing Malicious Code... Pin
Shy Agam6-May-07 1:47
Shy Agam6-May-07 1:47 
AnswerRe: PlugIns - Preventing Malicious Code... Pin
Moak16-May-07 6:55
Moak16-May-07 6:55 
Questionlibrary managment object model Pin
kaptaintens5-May-07 17:52
kaptaintens5-May-07 17:52 
Hello,

I am designing a Library Managment system for a school project. It includes 3 main constructs behind the UI:

Member - contains details about a member including a unique ID (using GUID's) and an array of Loan objects.
Book - contains details about a book, a unique ID and a reference to a single Loan object.
Loan - contains due date, issue date, unique ID and references to both the Member and Book which the loan is based upon.

Everything is fine up to here but once it comes to saving/loading this data problems appear. I want to have three seperate files, one which contains all the Books, one containing Members and a third containing all the Loans. Now the obvious way todo this would be to simply save the ID of the object if it is contained in a seperate file so for example the Loan object would be saved containing two GUIDs, one pointing to the Member and one pointing to the Book. That's all fine and dandy but when it comes to loading the files how should I approach creating the individual objects? I don't really want the complications of loading and saving to shine through in my object model as that would be bad design. Any suggestions? I am using C# to build this project by the way.

Thanks,
Daniel
GeneralRe: library managment object model Pin
kaptaintens5-May-07 19:16
kaptaintens5-May-07 19:16 
GeneralRe: library managment object model Pin
kaptaintens5-May-07 20:07
kaptaintens5-May-07 20:07 
GeneralRe: library managment object model Pin
Tristan Rhodes9-May-07 4:41
Tristan Rhodes9-May-07 4:41 
QuestionInherit without exposing? Pin
francoisdotnet4-May-07 4:47
francoisdotnet4-May-07 4:47 
AnswerRe: Inherit without exposing? Pin
CPallini4-May-07 5:07
mveCPallini4-May-07 5:07 
GeneralRe: Inherit without exposing? Pin
francoisdotnet4-May-07 5:22
francoisdotnet4-May-07 5:22 
GeneralRe: Inherit without exposing? Pin
CPallini4-May-07 5:33
mveCPallini4-May-07 5:33 
AnswerRe: Inherit without exposing? Pin
led mike4-May-07 17:08
led mike4-May-07 17:08 
GeneralRe: Inherit without exposing? Pin
Stephen Hewitt6-May-07 16:00
Stephen Hewitt6-May-07 16:00 
GeneralRe: Inherit without exposing? Pin
led mike6-May-07 16:30
led mike6-May-07 16:30 
GeneralRe: Inherit without exposing? Pin
Stephen Hewitt6-May-07 16:40
Stephen Hewitt6-May-07 16:40 
GeneralRe: Inherit without exposing? Pin
led mike6-May-07 17:01
led mike6-May-07 17:01 
Questiondecoupling business and database? Pin
giddy_guitarist28-Apr-07 12:11
giddy_guitarist28-Apr-07 12:11 
AnswerRe: decoupling business and database? Pin
Eugene Ciloci28-Apr-07 16:36
Eugene Ciloci28-Apr-07 16:36 
GeneralRe: decoupling business and database? Pin
giddy_guitarist29-Apr-07 13:01
giddy_guitarist29-Apr-07 13:01 
AnswerRe: decoupling business and database? Pin
Chris-Kaiser3-May-07 13:39
Chris-Kaiser3-May-07 13:39 
QuestionStructured error handling practises in asp.net Pin
shaunll27-Apr-07 4:36
shaunll27-Apr-07 4:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.