Skip to content

Latest commit

 

History

History
executable file
·
74 lines (50 loc) · 3.14 KB

File metadata and controls

executable file
·
74 lines (50 loc) · 3.14 KB

Return to Home


Student Resources 📚

Table of Contents

Terminology & Links

  1. MVC
  2. ORM
  3. Sequelize

Audio Resources

  1. Podcasts

Video Resources

  1. Video Listing

MVC

Back to top

Quick Synopsis

MVC, or Model-View-Controller, is a template file structure for full-stack projects.

  • Model: Contains your data models. These are used for stating what data your interested in storing and querying and how that data is structured. Think of it as setting up tables and the data that goes into them.
  • View: Kind of exactly what it sounds like. It's what you can actually SEE i.e. the front end. Some templating frameworks like handlebars allow you to inject data from your backend straight into your markup (HTML).
  • Controller: The middle-man in this whole equation. This defines the methods you'll be using with your data and/or how you'll be using that data.

ORM

Back to top

Gerneral Data on a object relational mapping

explaintion of what a ORM is with Pro's and Con's

A simple answer is that you wrap your tables or stored procedures in classes in your programming language, so that instead of writing SQL statements to interact with your database, you use methods and properties of objects.


Sequelize

Back to top

Sequelize is a powerful ORM for, you guessed it, SQL. It supports all forms of SQL including mySQL and PostgresSQL.