brianshaler / Vivagrams

Vivagrams on CodeIgniter
vivagrams.com
3 stars 0 forks source link

Create default set of Grams when a new Plan is created #4

Closed brianshaler closed 13 years ago

brianshaler commented 13 years ago

NOTE: Brian kind of already started on the implementation of this...

Ideas include.... (but these are only for yes/no "did you __?" questions)

Tobey Maguire Spiderman Workout Plan: I want to drink one gallon of water by 8 PM I want to eat a meal at 9 AM I want to eat a meal at 12 PM I want to eat a meal at 3 PM I want to strength train at 6 PM

Default Wellness Plan: I want to wake up at 7 AM I want to capture my mood at 7:05 AM I want to exercise at 7:45 AM I want to eat a balanced breakfast at 8 AM I want to have consumed 2 glasses of water by 10 AM I want to eat a light lunch at 12 PM I want to have consumed 2 more (4 total) glasses of water by 12 PM I want to have consumed 2 more (6 total) glasses of water by 4 PM I want to eat a healthy dinner at 6 PM I want to have consumed 2 more (8 total) glasses of water by 9 PM I want to capture my mood at 10:45 PM I want to go to bed at 11 PM

Future Regimens: Marathon runners Weight loss (10 lbs, 30 lbs, etc) Diabetic Exercise 3x per week Will Smith in Ali diet/workout plan Brad Pitt in Fight Club diet/workout plan Plan for longest living human Vitamin/supplement plan Simple plans: 3 meals a day Vegetables/fruit Water consumption

brianshaler commented 13 years ago

Default grams in Gram_Model:

      $grams = array( array("How many hours of sleep did you get?",     7*$hour + 30*$minute, "amount"),
                      array("Did you eat a healthy breakfast?",         8*$hour + 0*$minute, "boolean"),
                      array("On a scale of 1-10, how do you feel?",     8*$hour + 30*$minute, "amount"),
                      array("Did you excercise this morning?",          9*$hour + 0*$minute, "boolean"),
                      array("Did you eat a healthy lunch?",             12*$hour + 30*$minute, "boolean"),
                      array("On a scale of 1-10, how do you feel?",     2*$hour + 30*$minute, "amount"),
                      array("Did you eat a healthy dinner?",            6*$hour + 30*$minute, "boolean"),
                      array("On a scale of 1-10, how do you feel?",     7*$hour + 0*$minute, "amount"),
                      array("How many pushups can you do?",             8*$hour + 30*$minute, "amount"),
                      array("How much do you weigh?",                   9*$hour + 0*$minute, "amount")