Click here to Skip to main content
15,891,204 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: First attempt at OOD: How do I extend my design? Pin
CodingYoshi18-Jul-09 21:18
CodingYoshi18-Jul-09 21:18 
QuestionMVC Pattern question Pin
Quake2Player16-Jun-09 7:43
Quake2Player16-Jun-09 7:43 
AnswerRe: MVC Pattern question Pin
led mike16-Jun-09 11:48
led mike16-Jun-09 11:48 
GeneralRe: MVC Pattern question Pin
Quake2Player16-Jun-09 12:16
Quake2Player16-Jun-09 12:16 
GeneralRe: MVC Pattern question Pin
led mike17-Jun-09 4:50
led mike17-Jun-09 4:50 
AnswerRe: MVC Pattern question Pin
Leslie Sanford18-Jun-09 7:50
Leslie Sanford18-Jun-09 7:50 
GeneralRe: MVC Pattern question Pin
Quake2Player18-Jun-09 8:17
Quake2Player18-Jun-09 8:17 
GeneralRe: MVC Pattern question Pin
Leslie Sanford18-Jun-09 8:21
Leslie Sanford18-Jun-09 8:21 
Quake2Player wrote:
(a) User press a button for creating an account after filling the form -> The form sends all the data(strings primarily) with an event (CreatingAccountRequest) -> the controller listens this event -> the controller creates an account object -> adds it to the model

(b) User press a button for creating an account after filling the form -> The form creates an account object -> The form sends an account object with an event (CreatingAccountRequest) -> the controller listens this event -> the controller adds it to the model


I definitely like (a) better than (b) because it decouples the view from the model; the view in the case of (a) is completely ignorant of the model. If the model changes, it's less likely that the view will be affected.
GeneralRe: MVC Pattern question Pin
Quake2Player18-Jun-09 8:30
Quake2Player18-Jun-09 8:30 
GeneralRe: MVC Pattern question Pin
Leslie Sanford18-Jun-09 8:59
Leslie Sanford18-Jun-09 8:59 
AnswerRe: MVC Pattern question Pin
CodingYoshi7-Jul-09 17:28
CodingYoshi7-Jul-09 17:28 
GeneralRe: MVC Pattern question Pin
Quake2Player7-Jul-09 17:37
Quake2Player7-Jul-09 17:37 
QuestionClient Server Protocol Definition - Best Practices Pin
Member 404718314-Jun-09 17:16
Member 404718314-Jun-09 17:16 
AnswerRe: Client Server Protocol Definition - Best Practices Pin
Jimmanuel15-Jun-09 0:40
Jimmanuel15-Jun-09 0:40 
AnswerRe: Client Server Protocol Definition - Best Practices Pin
led mike15-Jun-09 4:28
led mike15-Jun-09 4:28 
QuestionI have a couple of design issues Pin
Mycroft Holmes13-Jun-09 15:54
professionalMycroft Holmes13-Jun-09 15:54 
AnswerRe: I have a couple of design issues Pin
CodingYoshi11-Jul-09 9:24
CodingYoshi11-Jul-09 9:24 
GeneralRe: I have a couple of design issues Pin
Mycroft Holmes11-Jul-09 14:56
professionalMycroft Holmes11-Jul-09 14:56 
GeneralRe: I have a couple of design issues Pin
CodingYoshi13-Jul-09 3:35
CodingYoshi13-Jul-09 3:35 
GeneralRe: I have a couple of design issues Pin
Mycroft Holmes13-Jul-09 14:37
professionalMycroft Holmes13-Jul-09 14:37 
QuestionGod object problem Pin
Quake2Player9-Jun-09 13:50
Quake2Player9-Jun-09 13:50 
AnswerRe: God object problem Pin
Mycroft Holmes9-Jun-09 14:50
professionalMycroft Holmes9-Jun-09 14:50 
GeneralRe: God object problem Pin
Quake2Player9-Jun-09 14:58
Quake2Player9-Jun-09 14:58 
GeneralRe: God object problem Pin
Mycroft Holmes9-Jun-09 15:53
professionalMycroft Holmes9-Jun-09 15:53 
AnswerRe: God object problem Pin
CodingYoshi13-Jul-09 3:40
CodingYoshi13-Jul-09 3:40 

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.