• @ReginaPhalange
    link
    English
    28 months ago

    Can anyone help me understand what is View (as in mVc) in the context of a backend?

    • @merthyr1831
      link
      English
      28 months ago

      Kind of what it says on the tin: it’s the UI view of your application. Usually some kind of HTML is populated with data using a template language like C#, Python, etc.

      The only reason it’s “backend” in this instance is that instead of sending the HTML and template for the end user to fetch the data for themselves (eg. via an API) it’s pre-filled on the server before being sent as a completed blob of HTML and data.