Recipe Book App Help
TeslaX
Member Posts: 8
I'm trying to build an app for my wife that stores all her recipes, is there a way to create a shopping cart attribute that I can list on every recipe that I can use to generate a shopping list?
Example below:
Screens
Breakfast>Beef>Steak Omelette (lists prep, ingredients, and cooking overview) I want to add a cart that when pushed will remember the dish's ingredients and add them all together when a button is pushed to display all shopping lists. I think this can be done with tables but struggling to figure out how to approach it.
Maybe break every dish down in tables with the ingredients by rows, then when cart button is pushed somehow tell a "shopping" attribute to remember the rows selected for later display?
Example below:
Screens
Breakfast>Beef>Steak Omelette (lists prep, ingredients, and cooking overview) I want to add a cart that when pushed will remember the dish's ingredients and add them all together when a button is pushed to display all shopping lists. I think this can be done with tables but struggling to figure out how to approach it.
Maybe break every dish down in tables with the ingredients by rows, then when cart button is pushed somehow tell a "shopping" attribute to remember the rows selected for later display?
Best Answer
-
simo103 Posts: 1,331
@TeslaX ... I think this is perfect for tables. I think you need to use the tables to create a relational database of info. What I would do is first create a table full of the different ingredients' names. The second table would hold 1. Recipe Description/instructions (not measurements), third table would hold 1. Row number from table 2 to identify the recipe, 2-20+ or -. row number of ingredient from table 1. That way if you have 30 recipes that include beef you only need to reference the 'beef' row number in the ingredients table rather than entering and storing beef 30 times. Also to populate your 'shopping cart' would require you to save the recipe number only and that could pull all the parts for your list.
(note: if you wanted measurements I would do a column next to each ingredient number in table3 so 'beef' could be common to all recipes that need it, but 2 pounds would be the measurement in a specific recipe specified in table3.
Answers
Ace
Ace
I am also interested in making a recipe builder, did you work it out?
cheers, mish