Skip to content

A complete rewrite of SubRecipe using OOP principles and C#. Added data classes and more tables. Built on ASP.NET MVC 5, Entity Framework 6, and Javascript. Explored many-to-many relationships, Table per Hierarchy, Interfaces, abstract classes, inheritance, n-tier architecture, and API controllers.

pfesenmeier/Larder

Repository files navigation

Presentation slides: https://docs.google.com/presentation/d/1HY1KNDYwP21-TCHAIL90qVoLJ8kwX_UQs05W18PhTYY/edit?usp=sharing

Larder saves recipes using several abstractions helpful for creating a menu.

Recipes- a note with zero or more instructions, ingredients, and seasons. Plating- a plating style. Each recipe can have zero or more plating styles. Larder- A recipe that is used in other recipes. Typically made in bulk and can keep for a while.

Program can make and modify the associations listed above. Recipes, larder items, plating styles, ingredients, and instructions have CRUD functionality.

ENTITY MODELS Class inheritance is as follows in Larder.Data.Models.

BASE DERIVED DERIVED Food (abstract) => Larder => Recipe => Ingredient => Plating Action Season RecipePlating (intermediate table)

Class inheritance in Larder.Models mirrors this structure.

DATABASE RELATIONSHIPS Larder => Ingredient | One to many Larder => Action | One to many Larder => Season | One to one Recipe => Plating | Many to many

About

A complete rewrite of SubRecipe using OOP principles and C#. Added data classes and more tables. Built on ASP.NET MVC 5, Entity Framework 6, and Javascript. Explored many-to-many relationships, Table per Hierarchy, Interfaces, abstract classes, inheritance, n-tier architecture, and API controllers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published