jknocek / RecipeScavenger

0 stars 0 forks source link

Ingredients #6

Open jknocek opened 12 years ago

jknocek commented 12 years ago

One of the first fundamental yes necessary structures in recipe scavenger is the ability to save ingredients as actual units.

  1. Find a good java library (I think this is what you are looking for http://www.unitsofmeasurement.org/)
  2. Create a Database table for ingredients. Each ingredient must have a base unit of measure (thus step one). Also, it will need to be specified as a solid of liquid so the correct conversions can be made. If there is anything else needed from the units of measure api feel free to add it.
  3. Create a domain class to model a row in the ingredients table (use other domain classes as a reference).
  4. Create a Controller for ingredients with as least one method, listIngredients(). List will direct us to a view that lists all ingredients.
  5. Create a view called listIngredients that lists all ingredients. It would be nice if this was paged and sortable so we would never have 1 billion ingredients on one page. This view also needs to be inside of a folder named after its controller.
jknocek commented 12 years ago

Steve feel free to ask if you have questions, there is a lot to do here so I can help with anything you might need. Also when you are done don't forget to add the SQL for all of us.