Difference between MVC and MVT design patterns?
- Model and View are both driven by the controller in MVC, whereas Views in MVT are used to receive HTTP requests and return HTTP responses.
- We must write all of the control-specific code in MVC whereas, We must write all of the control-specific code in the View and Template components in MVT.
- MVC is Highly coupled whereas, MVT is loosely coupled.
- In MVC, it is difficult to modify whereas, Modification is easy in MVT.
- MVC is suitable for large applications, but MVT is suitable for both small and large applications.
- MVC does not involve any URL mapping, whereas in MVT URL pattern mapping takes place.
- Flow is clear and easy to understand, whereas MVT is sometimes harder to understand.
Leave a Reply