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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:59:06+00:00 2026-06-17T05:59:06+00:00

When would one go for using Javascript MVC ? I mean why there was

  • 0
  1. When would one go for using Javascript MVC ? I mean why there was a
    need for JS-MVC ?
  2. Is it only because this design pattern was famous in other languages, for code maintenance,readability and many web apps are shipping client side ?
  3. How does it helps a developer, tester and end-user easing their
    tasks ?
  4. Any use-case where JS-MVC is suited best and any case where it is
    not at all required ?
  • 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-17T05:59:07+00:00Added an answer on June 17, 2026 at 5:59 am

    Question 1,2,4

    My view is that you should apply any kind of design pattern only and only if you really need it. Simply because design patterns aren’t easy after all. They will add complexity to your solution, but they’ll also provide you the benefit of (normally) being established and working solutions for specific kind of problems.

    Whether to use or not use them really depends on what you are going to construct and how complex it is. That said, I’m probably not going to structure my 200 lines jQuery plugin using the MVC pattern, maybe…

    But at work we create single page applications where we have 2-5 devs working on a project the same time, projects of the amount of 500 days. In such environments things can get complex very quickly and if you don’t follow any kind of proper structuring you’re lost.

    I hope that should answer your question 1 and 2.

    For question 3:

    The end-user hopefully gets a better quality app with less bugs, but usually he shouldn’t even notice (nor does he care) about the underlying architecture of an app.

    MVC helps the developer

    • as an orientation when navigating in the app’s source code. Consider an app of 3000 lines of code in a single source file and then when having 4 devs working on it at the same time. A mess, right? When having an MVC app which normally also use routings etc…you normally already know by looking at the route in the url where the corresponding controller lies in the source code and where you should put your hands on
    • for easier testing. Separation of concerns is always beneficial when applying unit testing practices because you can much easier test your controller because it isn’t directly couple to data or presentational stuff (like HTML code etc). And just as a side note, you should definitely unit-test your JavaScript code, definitely!!
    • maintenance: which is the result of the previous points somehow

    I’m not sure which kind of figure you intend by “tester”. If he writes automated tests at the unit or acceptance level, then the benefits from before pretty much hold as well. If he’s testing the app as a whole in the sense of navigating around, taking the app as a black box by testing its reaction to different kind of inputs, then MVC doesn’t really play a big role for him. It’s like for the end-user.

    So I hope I was able to clarify some things for you. But as said, never just follow a pattern because people follow it but only ’cause it gives you any kind of benefits.

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

Sidebar

Related Questions

would love your thoughts on this one. I am using jQuery autocomplete in a
How would one shorten the following using ternary operators? if ((pos - maxPos) ==
How would one go about either using the 3D components of WPF or using
I'm new to using iterators and was wondering how one would iterate through each
as the title says, I would like to create a many-to-one relationship using Fluent
I would like to copy a macro from one Excel workbook to another using
I am using jquery mobile. I would like to navigate from one page to
I would like to multi-thread an application, however one library i'm using is not
I am using Spring MVC on the server side, but in one of the
Is there a utility function for escaping JavaScript in ASP.NET MVC views? I often

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.