-
Notifications
You must be signed in to change notification settings - Fork 2
Database update triggers
Henriette Steenhoff edited this page Mar 14, 2019
·
3 revisions
From within the app, several action trigger a database update. This page gives an overview of all possible updates from withing the app and flowchart for navigation to obtain them.
For each flow chart the API call used is shown.
Read more about the database here

- As the user open the app an update is triggered after weather data has been fetched from the OpenWeatherMap API, which provides the user with the latest weather information, the information is stored in the
weathertable. - If the user chooses to update any of the settings age, gender, height, weight or unit of measure the database table
userwill be updated. - When the user chooses to send feedback about the app the information is added to the
feedback table
If the user updates a personal setting from the Settings page.
When the user submits feedback about the system.
When the user open the app for the first time he or she is prompter to provide their own physical parameters in order for the models to be individualized to their physical features.
When changing database structure or API remember the dependencies to the PHP API and the code of the devices using it.
Code:
- Database (on server)
- Java API string (and related classes that implement URL, any or all of these)
- PHP code (on server)
-
ClimAppAPI.php(create new version) DbOperation.php
-
Documentation:
-
Database
- Generate new ER diagram and add in Database
- Database API
- Visio
- Database update triggers (this)

- Recommended Alert Limit
- Weather data
- Shared preferences
- Translation procedure
- Prediction of indoor temperature
Testing
Server/database/API
User information
- Acclimatization
- Activity level
- Age
- Age onboarding
- Gender
- Height value
- Unit
- Weight
- Wet Bulb Globe Temperature (WBGT)
Flow controls