asp.net mvc 4 - Correct way to do a MVC UML Diagram -


tried researching before asking there many versions id definitive way asp.net mvc uml diagram, attempted 1 below want make sure im doing correctly

also see articles state model updates view , not controller? im wondering true since have views using ienumerable model displaying model data.

here mockup

enter image description here

i use general class <<controller>> controllers inherit get/set. generic class nice construct id based on class name. should further stereotype m , v classes accordingly.

your design lacks association between m, v , c. should associate v -> c -> m (directed association). means: view has controller. controller has model.

just notice use plural v classes. better use singular. there many instances 1 class.

re question model updating view: e.g. ruby has scaffolding bypassed controller in cases model directly punches through view.


Popular posts from this blog

debugging - Reference - What does this error mean in PHP? -

How to parse output from sse.client in Python? -