GithubHelp home page GithubHelp logo

cookbook's Introduction

The Cook Book

The Cook Book is a demo application developed to explore the second generation JavaScript framework Angularjs 2. This single page application allows users to create, read and delete simple culinary recipes. A very basic registration and authentication system is also included. This project followed very closely the design patterns set out in an excellent blog post by Chsakell

Technologies and Architecture

The Cook Book is an ASP.NET Core 1.0 application.

UI Layer

Angularjs 2 adopts a component based UI, a concept very similar to React. The Cook Book (TCB) consists of 5 components. Each TCB component in .NET speak represents a page. Angularjs 2 nicely separates HTML from the component via templates. TCB is written in TypeScript which is standard practice for most Angularjs 2 apps. Third party libraries are managed via NPM and Bower. JavaScript and CSS transpilation run via Gulp. Key technologies:

  • Angularjs 2
  • TypeScript
  • SASS
  • NPM, Bower
  • Gulp

Business Logic Layer

All data for the UI layer is processed via the API. The BLL has a simple data repository pattern which utilizes ASP.NET Core dependency injection. The BLL is encapsulated within the Framework folder of the application. Data structures are divided into Models for entities and ViewModels for the API. Key technologies:

  • ASP.NET MVC 6
  • C# 6.0
  • Web API

Data Access Layer

Microsoft's Entity Framework 7 represents the DAL. All repositories derive from the interface IEntityBaseRepository which exposes EF core functionality to the BLL. Key technologies:

  • Entity Framework 7

Data Store

An MSSQL local database is used to persist all data within the application. The database scheme is constructed via Code First migrations in Entity Framework.

  • Local DB
  • Code First migrations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.