Moving the View to the Client

Part I

WEB SERVER

  • Browser issues a request
  • Web server:
    • handles the request
    • generates an HTML response
    • sends the HTML response back
  • Browser receives and renders the hTML

MVC pattern

INSERT HERE SVG OF server request (C) -> database (M) -> C -> V (HTML) -> browser

API SERVER

browser request -> HTTP request -> index.html + CSS + JS -> API