Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Decision

Description

Problem/Issue

There is no graph linked to a sensor.
DecisionThere won't be an available graphs to add to a tab.
AlternativesGive every sensor a normal table (for example), so there is always a graph available.
Arguments

Not every sensor has data that fits in a normal table.


Graph CRD

...

Sequence diagram

...

deleteGraph

The crewmember deletes a graph on the webpage. the front-end does a call to the back-end. The resource is only responsible for returning the response so it gets delegated to GraphService. The GraphService delegates this to the GraphDAO because deleting the data from the database is not the responsibility of the service. In the GraphDAO the graph gets deleted from the database. The benefit of this structure is that you can easily swap the classes which results in low cohesion and high coupling. This structure is based of the the layer pattern.

...