Should user interfaces be included in the class diagram and sequence diagram?

前端 未结 3 1082
终归单人心
终归单人心 2021-01-02 12:05

I have a project and I\'m required to produce the class and sequence diagram. It is a procurement website. My only problem is that I don\'t know how to associate the web pag

3条回答
  •  隐瞒了意图╮
    2021-01-02 12:18

    In your class diagram you will normally describe/design the (data) model part of your application, while the user interface (UI) corresponds to the view part within a model-view-controller (MVC) architecture. As a UI cannot be designed with a class diagram, I cannot see any meaning for a "UserInterface" class.

    However, there is a new modeling language for modeling user interfaces: the Interaction Flow Modeling Language (IFML), which has been adopted as a standard by the OMG in March 2013. If you are serious about UI modeling, then you should use that language.

提交回复
热议问题