Nov 7, 2017

Model View Controller Design Pattern

Model View Controller Design Pattern

Model View Controller pattern is the core design pattern of web applications.

There are variations based on how actions and events are handled. The popular 2 MVC patterns are:

Request (action) based MVC

This is how among others Spring MVC,Struts and Stripes works. You have more control but You have to gather, convert and validate the request parameters (mostly) yourself.

Component based MVC

This is how among others JSF, Wicket and Play! works. You get a simpler model and view and all the "raw" Servlet API is abstracted completely away. But they allow less fine grained control over the output.

Post a Comment

Featured Post

Setup Chinese Input Method in Ubuntu 17.10 Artful

sudo apt install ibus-sunpinyin After either of those commands do not forget to restart the IBus daemon ibus restart You might need t...