IT Phase 1
IT Phase 1
Task 0
Contents
Value The user would want to use They need to make sure
the program to change their that the information that
body to feel more confident or the users receive are
any other reason. They can accurate and relevant.
contribute to the community
by sharing their progress.
Acceptance test
General user:
Admin:
Task 2
Data Dictionary
Variable Data Type Name Local/Global
sSurname string local
Spassword String Global
iweight integer local
Text Files
The texfile will hold the workout plan of the client and when called upon depending on
the client id the textfile will be displayed in a pagecontrol with all the workouts for each
day.
Example:
For Day 1
arrmealPlan
1 2 3
Day1 breakfast Eggs and Bacon
This procedure loads the workout program if the users wants to maintain their weight.
Database design:
When the user logs on the database will check if their email and password are correct. If
the user needs to sign up they will be asked their goal and then will enter their personal
information for example their age, weight, height , and then their BMI will be calculated
, their card information will need to be added aswell. Their card information will be stores
in the tblpayment details. They will then be taken to the signup form and will be
assigned a random clientid and have to enter a password. All that information besides
the payment details will be then stored in the tbldatabase.
tblClients
The user’s Card information as well as the cost of the week plan, whether they took the
free plan and the date their free trial began will be asked and stored in the database.
tblPaymentDetails
GUI INTERFACE
Ipo Table
frmLoginPage
frmDnW
Processing
Input processing
IclientiD Generates a random 6 digit Client id
number
chbShowPassword Sets edpassword2 and 3’s passwordchar
to #0
btnpaidweekly Sets the week plan Yes/No to true
btnLoginasAdmin Checks if the admin id entered is the same
as the client id
btnStart Checks whether the email entered
contains an @gmail.com or @yahoo.com
btnLoseWeight Gives variable goal the value lose weight
Btnnext4 Calculates users BMI
btnSignup Checks if the passwords the user has
entered is the same
Output
Name:
redmealplan Displays users meal plan depending on
their goal
Pagecontrol1 Displays users workout plan depending on
their goal.
EdEmail2 Gets assigned the email from edtemail1
from the welcome page.