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 7937837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:37:43+00:00 2026-06-03T22:37:43+00:00

I am trying to understand if MVC (as it works in Java desktop applications,

  • 0

I am trying to understand if MVC (as it works in Java desktop applications, for example) is applicable to JavaScript web applications.

By MVC I mean the following :

  • Model is data that represent the application state. It is not aware of the page DOM.
  • View is the DOM tree and functions, which listen to the Model changes and update the DOM
  • Controller listens to user gestures (e.g. “button pressed”), calls the server, and updates the Model rather than View.

I looked through few JavaScript applications and saw something different. They do not have clear distinction between Model and View. That is, the application state is scattered over the DOM tree and Controller (e.g. ajax callbacks) updates the View (DOM tree) directly.

Now I wonder if the MVC as described above is really applicable to JavaScript applications running in the browser. What do you think?

  • 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-03T22:37:44+00:00Added an answer on June 3, 2026 at 10:37 pm

    MVC with JavaScript exists and is already possible. There are tons of library out there. I give you some ressource to dig in:

    • http://addyosmani.com/toolsforjqueryapparchitecture/
    • http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/
    • https://gist.github.com/441889
    • http://peter.michaux.ca/articles/mvc-architecture-for-javascript-applications
    • http://addyosmani.com/blog/building-apps-spinejs/

    Addy Osmani blog contains a lot of informations about JavaScript design patterns, and especifically about MVC, you should have a look there http://addyosmani.com/blog/. He also has written a book about design patterns in Javascript http://addyosmani.com/resources/essentialjsdesignpatterns/book/

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

Sidebar

Related Questions

I am trying to understand how the database access model works in asp.net mvc,
Well I am trying to learn the java MVC pattern, but I can't understand
I just started to learn MVC and am trying to understand how it works.
I'm just trying to understand the Templating(system). If you use MVC in your web
ASP.NET MVC Model Binding is still new to me and I'm trying to understand
I'm trying to understand how authentication in ASP.NET MVC works. I do not want
I'am trying to understand the example from program_options of the boost library ( http://www.boost.org/doc/libs/1_38_0/doc/html/program_options/tutorial.html#id3761458
I'm trying to understand the MVC pattern and I get the general idea that
I'm new to ASP.NET and MVC in particular. Now, I'm trying to understand if
I'm using EF4 POCOs and UnitOfWork/repository patterns with MVC 3. I'm trying to understand

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.