Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the MVC-pattern a pure presentation-tier pattern?

Kind of a special question today :)

I just had a test at my technical university where I was told that I am wrong.

So I like to know from you folks(I believe you more than my teachers):

Is the MVC-pattern implemented at the presentation-layer only? Or is the Model-part of the pattern in the Business/DataAccess-layer implemented.

My teacher said, it's not possible that a pattern can span more than one tier. But I think it's an an enterprise-architecture-pattern and therefore can span multiple tiers.

How wrong am I? :)

like image 360
SwissCoder Avatar asked Feb 23 '11 13:02

SwissCoder


1 Answers

You're wrong... for the class. In class, what teacher/book says goes.

Outside class, I agree with you 100%.

like image 71
Satya Avatar answered Sep 20 '22 14:09

Satya