Cover image for Do you use UML to model complex web applications?

Do you use UML to model complex web applications?

diegosanchezp profile image Diego Sánchez ・1 min read

A few weeks ago I was learning from a course object oriented design in which they taught me class, state machine and sequence diagrams using the The Unified Modeling Language.

I like web development so I asked myself if these diagrams, specifically class diagrams, could be used to model web applications, preferably complex ones.

At first I though this wouldn't be possible since JavaScript is a prototype based language even tho having a class keyword.

Doing a little bit of research I found and read two papers that addressed this.

  1. Modeling Web Application Architectures with UML (1999)
  2. A comparison of UML and WAE-UML for the design of Web applications (2005)

The second paper gives good reasons on why use UML to model web apps in chapter 1.4.

What they do to use UML is to extended it with stereotypes, constraints and tagged values, this new extension is called Web Application Extension (WAE).

As you can see these are old papers, the examples that they show are for what today are called server side rendered web apps.

I want to know if any of you have used UML to model web pages or if you like to consider UML to do so.


Editor guide