-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
The system follows a layered architecture.
The User Interface is what the user interacts with.
Handles HTTP requests and responses.
Contains business logic.
Handles database interaction. Handles fetching of general data.
In the development of this application we have chosen to divide the source code in a couple different modules.
This module consists of the classes and code related to the initialiation and configuration of the database, aswell as the repositories with quieries related to the database logic.
This module consists of the code related to designing the UI. Here we have an internal structure based on controllers, models and views.
This module consists of the code related to fetching information about the charities from the IK api.
This module is the remaining code, wich is the code used for the logic of organizing the charities as objects of a class Charity. Here we aswell do have classes like Search, Sort and Account, to name a few.
- Request → Controller
- Controller → Service
- Service → Repository
- Response returned to user
- WireFrame
- API
- Relational Database