Home > Framework, PHP, Web Technology > Dual MVC

Dual MVC

Dual MVC contains both, Push MVC and Pull MVP design pattern. that is why it is called Dual MVC design pattern.

  • The push-style MVC, (Model View Controller or MVC), which is the classic design pattern which decouples data access and business logic (model) from presentation layer (view) by introducing an intermediate component: the controller.
  • The pull-style MVC, (Model View Presenter or MVP), where the view is able to “pull” data from multiple controllers as needed. This approach eases the creation of rich web user interfaces.

For a better understanding of both patterns, let say that MVC is the piece in charge of executing the logic to show a page while MVP is the piece in charge of executing the logic associated to the page UI (i.e. the logic that is executed when the user click on a button or select an option from a drop-down list).

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: