Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8096989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:37:01+00:00 2026-06-05T21:37:01+00:00

Wikipedia says: MVC provides front and back ends for the database, the user, and

  • 0

Wikipedia says:

MVC provides front and back ends for the database, the user, and the
data processing components. The separation of software systems into
front and back ends simplifies development and separates maintenance.

I still don’t see the link between the model-view-controller principle and the idea of front- and backend. Can the Model with its access to the database be seen as the Backend and the View as the frontend?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:37:03+00:00Added an answer on June 5, 2026 at 9:37 pm

    OK.. first the terms:

    • Frontend – are the parts, which are visible to users: HTML, CSS, client-side Javascript. It all is basically “frontend”. In a desktop application frontend would be the GUI.
    • Backend – is the invisible part. In web applications that is your java, ruby, php or any other serverside code. It can be either interpreted or compiled, because “how” it works has no impact on “what” it is.

    If you read GUI Architectures and research the MVC pattern in general, you will understand that MVC is not about separation of backend and frontend. Especially when it comes to MVC-inspired patterns, that we use for web applications.

    The goal of MVC and related patterns is to separate presentation from domain business logic.

    Here are the basic responsibilities of MVC parts:

    • Model – business logic
    • View – presentation logic
    • Controller – changing state of model and view (based on user input)

    Let’s take an example:

    • alternative client application for twitter
    • uses OAuth for authentication
    • user can input different search phrases
    • takes information via Twitter’s REST API
    • validates data
    • parses the JSON responses
    • manipulates DOM to present the information

    This all can be done with client-side JavaScript. You can have MVC triad running “frontend”! At the same time, the “backend” which provides REST API is an MVC-like structure. Only this time the View is generating JSON responses, instead of HTML.

    *Conclusion: You can use MVC pattern both on backend and frontend.**

    Post Scriptum

    Since you have been building some applications with Rails, your understanding of MVC might be a but distorted. The reason I say this is because, since RoR was initially made as a prototyping framework (notice all the scaffolding and other features for generating throw-away code), and because of its origin, Rails is actually implementing a very anemic version of MVP.

    I call it “anemic”, because they nerfed both View (it should be a passive object in MVP, not a simple template) and Model Layer (yes, it is supposed to be a complicated layer, not a collection of ORM instances).

    I would recommend for you to read two publications to get a much better grasp on the subject:

    • Patterns of Enterprise Application Architecture.. mandatory reading for serious developers
    • A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System

    The second one is as close as you can get to initial definition of pattern. That, together with “GUI Architectures” article, should provide you a solid footing on the subject. And the PoEAA book (hard read, btw) would give you context in which to expand it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Wikipedia says: A programming language is a machine-readable artificial language designed to express computations
It says on wikipedia and in Stroustrup's FAQ that type long long is at
Wikipedia says: Selection algorithms: Finding the min, max, both the min and max, median
Wikipedia says that A piece of code is said to be exception-safe, if run-time
Wikipedia says on A* complexity the following ( link here ): More problematic than
Wikipedia says that locale dictates a set of formatting rules for a specific language/region
Wikipedia says NULL is for representing missing information and inapplicable information. I have always
Wikipedia says that BlueGriffon can create and edit pages in accordance to HTML 4,
Following this question Wikipedia says: http://en.wikipedia.org/wiki/First_normal_form#Repeating_groups_within_columns A query such as Which pairs of customers
What is an OLE Automation object: wikipedia says: is an inter-process communication mechanism based

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.