If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
advice regarding diet/nutrition software
Hi all
I'm writing some diet/nutrition tracking software and would appreciate your thoughts on something. I'll keep it brief and get straight to the point. The software maintains a database of foods which users can add to their daily food log. There's one of two ways I can program the 'adding' part: - store a reference to the food and when the user needs to check the foods eaten on a certain day, I can use the reference to look up the foods values from the food database. With this method, if the user edits the food details (name, nutritional info, serving size etc) the details are also updated in the food log because the info was never stored, just a reference to it. - copy all the information i need from the foods database into the food log database, thereby having an independant copy. If the details for the original food are changed, the details in the food log are preserved - they don't change. The advantage of using the first method is I can pull all kinds of useful statistics, e.g. 'show me how many times I ate food x between date a and date b' . The disadvantage is the food needs to stay in the food database for as long as you want it to appear in your foods logs.. deleteing the food deletes it from the logs too. I'm more inclined to use the first method, simply because I don't see the harm in having a food stored in the food database indefinitly. Each food takes up only a tiny amount of space. I'm looking more for usability rather than technical opinions. If you use diet or nutrition software, how does it handle deleteing foods.. are the foods also purged from your food logs? What seems to be the more intuitive/natural behaviour? any thoughts and input would be much appreciated mark |
#2
|
|||
|
|||
On Sat, 21 Aug 2004 14:26:36 GMT, Mark C wrote:
I'm writing some diet/nutrition tracking software What code? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
software | ed rosenthal | Low Carbohydrate Diets | 0 | February 15th, 2004 04:24 PM |
Rating diet-tracking software | Amanda | Low Carbohydrate Diets | 20 | February 12th, 2004 12:38 AM |
Meal Planning Software | Kurt | Low Carbohydrate Diets | 14 | October 27th, 2003 10:41 PM |
Free Diet Software | The 5meals Team | General Discussion | 0 | October 24th, 2003 09:47 AM |
Non-commercial Release of Diet/Exercise Software | Craig Shoemaker | Low Carbohydrate Diets | 0 | October 7th, 2003 01:46 AM |