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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:42:21+00:00 2026-06-12T20:42:21+00:00

In an MVC controller is what holds the business logic. In backbone the controllers

  • 0

In an MVC controller is what holds the business logic. In backbone the
controllers have been renamed to route. Now there are couple of things
which bring in confusion.

  1. Model should have business logic.

  2. Collection is the collection of models.

  3. Views are where the templates are rendered, and most of the DOM
    event handling is done.

  4. Apart from routing, what do the routers do? And where should more
    of business logic go to the routers or to the models?

Do the views perform anything extra other than rendering DOM
variables?

  • 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-12T20:42:23+00:00Added an answer on June 12, 2026 at 8:42 pm
    1. Yes they should, also should be the ones with a “link” to the Backend, to do the CRUD, but can also validate object state, ensure backend and frontend model sync and other things.

    2. Correct again, but they also have a very nice use that is to fetch lists of models from the server very easily.

    3. They should also attach event handlers to HTML elements and models and react to those events accordingly.

    4.They handle all URL changing events and direct them to display the proper views for that URL, routers give you the opportunity to change your page completely and keep track of the URL changes by using Backbone.history, so Back and Forward Browser buttons will keep working.

    They do the URL mapping.

    It’s an awesome framework, I can’t live without it anymore.

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

Sidebar

Related Questions

I have a fairly standard .Net MVC Controller method: public ActionResult Add(Customer cust) {
I have an ASP.Net MVC Controller with a 'MapColumns' action along with a corresponding
Is there any order or pattern that action parameters in an MVC controller follow.
I have the following getJSON that calls an MVC controller which returns inforamtion back:
I have a Spring MVC Controller in a very XML-slimmed application, we use a
I'm new to the MVC pattern but have been trying to grasp it, for
i have a MVC controller called MyController with an action called MyAction. For other
I have a Spring MVC controller and when an exception occurs I would like
I have been reading a lot about MVC these days and I think I
I have a Spring MVC controller set up like so: @RequestMapping(activityChart) public ModelAndView activityChart(

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.