- MVC - Wikipedia
- MVCs are like sandwhich shops...
- Take your pick of these forum explanations on MVC
- MVC - 25 min explanation
- MVC - 10 min explanation
- MVC - explained a little more colloquially
- MVC with Penguins!
- MVC explained by google chrome devs
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.
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 is a powerful ORM for, you guessed it, SQL. It supports all forms of SQL including mySQL and PostgresSQL.