A Weightloss and diet forum. WeightLossBanter

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.

Go Back   Home » WeightLossBanter forum » alt.support.diet newsgroups » General Discussion
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

advice regarding diet/nutrition software



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2004, 03:26 PM
Mark C
external usenet poster
 
Posts: n/a
Default 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  
Old August 21st, 2004, 10:43 PM
MU
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
software ed rosenthal Low Carbohydrate Diets 0 February 15th, 2004 05:24 PM
Rating diet-tracking software Amanda Low Carbohydrate Diets 20 February 12th, 2004 01:38 AM
Meal Planning Software Kurt Low Carbohydrate Diets 14 October 27th, 2003 11: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


All times are GMT +1. The time now is 03:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 WeightLossBanter.
The comments are property of their posters.