• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MVC - eliminate the controller?

 
Tom Sallah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've gone with the MVC pattern for my GUI, but I wonder if having a Controller is too complex. My understanding is that the Controller is there to promote the reusability of the View and Model components, but my instructions say that the "IT director does not anticipate much reuse of the first Java technology system". I'm assuming that the certification application is the system being referred to. Would anyone be comfortable eliminating the Controller and having the View directly call functions in the Model? It would eliminate some complexity for a Junior Programmer. I'm trying to make sure that I haven't overengineered my solution.
[ September 15, 2005: Message edited by: Tom Sallah ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom,

You might like to take a look at the View Helper design pattern. Consider how close this is in function and design to an MVC with one component missing .

Regards, Andrew
 
Tom Sallah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Andrew. I went back and think I did a good job of justifying the full MVC pattern in my choices document. I'll keep that page bookmarked. That helper pattern looks interesting.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic