Code Monkey home page Code Monkey logo

mvc-presentation's Introduction

MVC-Presentation

Presentation on Model, View, Controller with additonal notes on mongoose schema and express router

Table of contents

Overview

Put to use the research I have done on the architecture design pattern Model View Controller. I will continue improve and share this research so other Software Engineers can improve with me. Making this information accessible and approachable is the priority.

The challenge

Research and understand and apply

Screenshot

Built with

  • Canva

What I learned

MVC Model - is the database View - is the client Controller - is the server

the Model -- anything that interacts with data

  • Adding and Retrieving items from DB
  • Processing data from or to the database
  • Speaks only with the Controller

the View -- anything that displays to the user

  • This is the only thing the user ever sees
  • Think of good old fashioned HTML/CSS
  • Speaks only with the Controller --- doesn't really talk to the controller it Listens to the controller. The controller tells the view what to do

the Controller -- anything that interacting with the user ---Anytime you send a request to the server the controller is what is receiving the request/ what is processing the request.

  • Processes GET/POST/PUT/DESTROY requests
  • All server-side logic
  • The Middle Man
    • Takes info from user
    • Processes info and talks to the DB if needed
    • Receives info from DB
    • Speaks to View to explain presentation to the viewer

Continued development

  • Update further with technical language
  • Add animations
  • Add resources

Useful resources

mvc-presentation's People

Contributors

micahbear avatar

Stargazers

 avatar Garland Key avatar

Watchers

 avatar

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.