Skip to content

Frameworks

Oh_liver edited this page Mar 3, 2020 · 3 revisions

Web Framework

Spring MVC

We used Spring MVC to lay the groundworks for our application. Spring MVC is a powerful tool which makes, for example, database handling very convenient.

To see how our structure is set up in more detail, please go to this wiki page Architecture

Spring Mvc Documentation

Front End Framework

Thymeleaf

For the front end functionality we used Thymeleaf to bind and execute functions in the views. The th: and sec: annotations are used to bind attributes and values to the controllers. for example, the th:object and th:field attributes are used to bind an object in the model to a form in the HTML file, and the specific field in that object.

Include the following code in the HTML element when creating new files.

<html xmlns:th="https://www.thymeleaf.org" xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

CSS

Bootstrap

For the CSS we use the well known Bootstrap library for easy but brilliant design on the site.

Include the following code in the HTML header when creating new html files, if they are outside of the template header-file that is.

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">

Deployment

Heroku

For deploying the app to the cloud we are using Heroku.

Heroku website

Clone this wiki locally