Results 1 to 5 of 5
Thread: Mvc
- 10-20-2012, 11:40 AM #1
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
Mvc
Hi,
When using MVC what is the difference between :
;Model model = new Model();
View view = new View(model);
Controller controller = new Controller(model, view)
and
In the first example the view gets the model. In the second not.Model model = new Model();
View view = new View();
Controller controller = new Controller(model, view);
Kind regards
Dipke
- 10-20-2012, 02:44 PM #2
- 10-20-2012, 02:48 PM #3
Re: Mvc
Wasn't this adequately addressed by JosAH in your earlier thread?
MVC question
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 10-20-2012, 03:12 PM #4
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
Re: Mvc
Hi,
i asking actually what the best approach is for MVC or that both systems are equal ?
Kind regards
- 10-20-2012, 03:29 PM #5
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks