Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference b/w FrontController & MVC

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Whats the difference between these two?

Regards
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
front controller mentions only about the controller part whereas MVC mentions Model-view and controller which enables seperation of responsibilities

eg:struts is based on front controller design pattern(ActionServlet)
Sample web application pet store is MVC based
 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding to what Renu said ...

Front Controller is an enhancement done to the MVC, by making the controller components more cohesive.

Request handling and control dispatching which is common in all controllers, now goes into the front controller object. Each controller thus becomes cohesive with what business that is unique to itself.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the responses!!!
Accoring to Renu,
struts is based on front controller design pattern(ActionServlet)

MVC based implementation is based on Front controller...

But according to Manikandan,
Front Controller is an enhancement done to the MVC,



So aren't these contradictory statements....

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic