this post was submitted on 02 Apr 2024
133 points (94.6% liked)
Programmer Humor
1350 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can anyone help me understand what is View (as in mVc) in the context of a backend?
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.