How to classify the parts of a recipe ingredient

organizationshopping

I'm build a recipe app/website, and I'm interested in how to properly classify the sections of an ingredient (as you would find in a cookbook or on a website) with regards to the terminology. Let me give an example of what I mean. Let's say an ingredient reads:

3 cups Ore-Ida southern-style hash browns

My best guess at terminology for the parts of this sentence fragment would be:

  • 3 = quantity
  • cups = unit
  • Ore-Ida = brand
  • southern-style = variation
  • hash browns = ingredient

I'm not sure if this is correct, or if there's a more precise descriptive term usage for this. I'm interested in learning the proper terminology if this is not considered to be correct.

One more thing worth noting is that in 99% of cases, there probably won't be a brand at all, or if there is, it's not of significance. In addition, if an ingredient doesn't include a unit, I'm making an assumption that the unit is "count", (e.g.: "3 eggs" would mean quantity "3", unit "count", ingredient "eggs").

Best Answer

This is an exercise in data modeling, more so than cooking.
What you are describing is the design of your database.
You are on the right track.

You will want to consider how many of each of the fields you need to have. For example:

  • Quantity - Unique [there will be exactly one of these]
  • Quantity unit - Unique [exactly one]
  • Brand - Unique [optional] (either one or none)
  • Variation (or style, or preparation-note) - Non-unique [optional] (0, 1, or many)
  • Ingredient - Unique
  • Initial cooking temperature - Unique
  • I.c.t. Units - Unique
  • Preparation Instructions - (you have a decision whether to make one block text, or a series of fields which may or may not be used)
  • Cooking Instructions - (same as Prep. Instruction)
  • Cooling Instrutions... et cetera

ADDITIONAL:

To your question about when multiple modifiers might be used with an ingredient: You might have an ingredient which is expected to be prepared at the time of cooking. So: "minced onions, blanched". It would seem that order might be important to you here, as well. As you see here, there are two styles (I just realized 'modifier' might be a more all-encompassing field-name).

So you might typically see the descriptive nature of the ingredient listed like this (although maybe not the exact verbiage - I'm not sure if this exact ingredient has ever been listed). So you would have to make a decision as to whether you could have 0+ modifiers listed before the ingredient, format with a comma, then have 0+ commas after the ingredient.

Naturally the comma would only appear if there were >=1 modifiers listed after the ingredient.

Since I have thought about how infrequent you might see minced onions, blanched...you might instead see shredded red potatoes, salted and peppered. There are many considerations with respect to how modifiers could used, to be sure.

One more word - in database design, you'll want to take as much time as you can to develop pre-authoring/programming. Any minor change to the database schema could cause you to have to start all over again. :)