A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by David Dickinson:
Is that correct? Does anyone have a small project they could post which utlises GUI's and MVC?
I also have to follow a TDD approach and thus i've always been advised not to use UML diagrams at the beginning of the project. What would you recommend?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4<br />SCWCD 1.4<br />WSAD 5.0
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
It might know this "user gesture" means to get data from several screen widgets before making a call to the model. Is that the kind of thing you meant?
the view has no logic at all
Originally posted by David Dickinson:
Am I to presume therefore that the controller is reponsible for calling the getters/setters from the model?
Surely the view must be responsible for user input validation? If a user enters a series of characters into a text field which requires numbers surely the view must be responsible for alerting the user?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
Those actions will likely include calling some getters (if the users wants to put some values into the model), might include other things and are unlikely to include many calls to getters.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
There may be others that send the data via the controller, but I haven't done that myself.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by David Dickinson:
Did you mean to say the controller might include some setters but not getters?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by David Dickinson:
[QB]
Is that correct? Does anyone have a small project they could post which utlises GUI's and MVC?
/QB]
What's gotten into you? Could it be this tiny ad?
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|