• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference b/w FrontController & MVC

 
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Whats the difference between these two?

Regards
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic