Click here to Skip to main content
15,897,518 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
CodingYoshi27-May-09 3:23
CodingYoshi27-May-09 3:23 
AnswerRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy23-Jul-09 16:11
Robin_Roy23-Jul-09 16:11 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen24-Jul-09 9:15
Frygreen24-Jul-09 9:15 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy26-Jul-09 17:40
Robin_Roy26-Jul-09 17:40 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen27-Jul-09 7:42
Frygreen27-Jul-09 7:42 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Robin_Roy27-Jul-09 16:43
Robin_Roy27-Jul-09 16:43 
GeneralRe: Requirements, SRS, Validation, Verification - - - - oh my god Pin
Frygreen7-Oct-09 6:45
Frygreen7-Oct-09 6:45 
QuestionSaving Business Objects Pin
CodingYoshi20-May-09 7:44
CodingYoshi20-May-09 7:44 
Lets say I have 3 classes: Category, Book, and BookCollection. Objects of Category class will have a BookCollection which is simply some container which contains all the books within that category. These classes also have a method Save() which saves them to a permanent storage. Now when Category's Save() method is called, should it just save the category or the books within the category as well? What are the advantages and disadvantages?

If Category.Save() only saves itself, then clients will also need to call Category.Books.Save(). What is better? Also, should BookCollection.Save() traverse the books and call Save on each or will it do all the saving?

I guess it depends on the context but is there a convention?

CodingYoshi

Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07

AnswerRe: Saving Business Objects Pin
Luc Pattyn20-May-09 8:22
sitebuilderLuc Pattyn20-May-09 8:22 
GeneralRe: Saving Business Objects Pin
CodingYoshi20-May-09 8:59
CodingYoshi20-May-09 8:59 
QuestionDeveloping a LMS software. Pin
RajpootRohan18-May-09 19:13
professionalRajpootRohan18-May-09 19:13 
AnswerRe: Developing a LMS software. Pin
riced18-May-09 22:51
riced18-May-09 22:51 
AnswerRe: Developing a LMS software. Pin
Robin_Roy23-Jul-09 16:31
Robin_Roy23-Jul-09 16:31 
GeneralRe: Developing a LMS software. Pin
ScottFrostX12-Aug-09 8:01
ScottFrostX12-Aug-09 8:01 
Questiondoes any body know about Brainstorming tool Pin
netJP12L13-May-09 7:36
netJP12L13-May-09 7:36 
AnswerRe: does any body know about Brainstorming tool Pin
scottgp13-May-09 8:30
professionalscottgp13-May-09 8:30 
AnswerRe: does any body know about Brainstorming tool Pin
led mike14-May-09 4:33
led mike14-May-09 4:33 
QuestionUML Design Tool Question Pin
puromtec16-May-09 5:00
puromtec16-May-09 5:00 
AnswerRe: UML Design Tool Question Pin
led mike6-May-09 5:26
led mike6-May-09 5:26 
GeneralRe: UML Design Tool Question Pin
puromtec16-May-09 5:47
puromtec16-May-09 5:47 
AnswerRe: UML Design Tool Question Pin
puromtec16-May-09 6:47
puromtec16-May-09 6:47 
QuestionCreating Use Case for Stored Procedure Pin
puromtec14-May-09 4:50
puromtec14-May-09 4:50 
AnswerRe: Creating Use Case for Stored Procedure Pin
riced4-May-09 5:59
riced4-May-09 5:59 
GeneralRe: Creating Use Case for Stored Procedure Pin
puromtec15-May-09 13:45
puromtec15-May-09 13:45 
AnswerRe: Creating Use Case for Stored Procedure Pin
Jonathan Davies5-May-09 7:07
Jonathan Davies5-May-09 7:07 

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.