Versions Compared

Key

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

...

The crewmember deletes a graph on the webpage. the front-end does a call to the back-end. This activates the deleteGraph method in the GraphResource. The resource is only responsible for returning the response so it gets delegated to GraphResource. The GraphService delegates this to the GraphDAO because getting the data from the database is not the responsibility of the controller. 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.


Tab CRUD

Delete Tab

Image Added





Database Design

This is the database setup we will use for the RegterschotRacing API. A full description of every tables usage and datatypes can be found below.

...