Day 6 Bangalore

Basics of MVC.

< 1 min read    08 May 2017    

Two more interns from Kanpur join in.

  • MVC Architecture [model - view - controller]

View => frontend

Routes => Backend [REST Apis]

POST/ PUT/ GET/

api.post("/profiles", createprofile)
            |                  |
            v                  v
          Routes             controllers
How do we differentiate what goes in controller and what in model?
            |
    Is it a view thing ?
        /        \
       /          \
      Maaybe      F No
    /                \
  controller         model

That’s the only useful info I gathered today.

Some rights reserved.

Leave a Comment