ericlee
ericlee

Reputation: 2753

MVC In PHP Framework

i saw this diagram which represent what i've been coding for laravel php framework. enter image description here

However, i was told by some other developers that for MVC, the model can update the View directly as shown in https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller.

Is there a sub-type of MVC or laravel is implementing a different type of MVC? I've used Laravel and codeignitor before and they both seems to work like the first diagram.

Upvotes: 2

Views: 4271

Answers (1)

Rafał Toboła
Rafał Toboła

Reputation: 376

There are many variation of MVC, pattern, e.g.:

It's not just "plain" MVC known from SmallTalk, but a variation of it.

Upvotes: 3

Related Questions