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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:54:19+00:00 2026-06-02T00:54:19+00:00

I’m using .NET MVC for all my serverside logic and serving out initial pages,

  • 0

I’m using .NET MVC for all my serverside logic and serving out initial pages, but my application is very heavy on the client-side so I have adopted Backbone.JS which is proving to be very useful.

I’m unsure how to architect my system to incorporate both technologies though. The way I see it I have two options

  1. Scrap the ‘V’ from MVC on the server-side, return JSON Data to the
    client on pageload and use backbone clientside templates to build up
    the GUI from the base JSON/Backbone Models.

  2. Return the initial pages from the server fully rendered in .NET MVC.
    Also return the data that was used to render them and call the
    collection.reset({silent: true}) method to link up the
    returned data to the view. Am I right in thinking that this will
    allow me to subsequently make changes to using the add/remove/change
    handlers on the views?

1 Troubles me as I’m afraid of letting go of any part of server-side MVC, its where my core skill lies.

2 Troubles me as I’m concerned I might be introducing risk and work by having two different rendering methods on client server.

Whats the correct way to combine Server-side MVC with backbone.js 1 or 2 or some other way?

  • 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-02T00:54:20+00:00Added an answer on June 2, 2026 at 12:54 am
    1. You are not really scrapping the V, you’re just changing it’s representation from HTML to JSON. You are troubled because you feel more comfortable with the server side stuff, and that’s not really a valid concern… you’ll get done what needs to be done, and learn/create the Javascript patterns as you go.

    2. This is one way to do it, and it really helps if you need a javascript disabled fallback or you’re bound by accessibility guidelines. The part you’re missing is that you will have to re-render the page once it’s loaded to attach your models up to the DOM elements. Alternatively you could use a tool that handles this mapping for you, but that’s added complexity you’ll have to weigh out yourself.

    In the Careers usage of backbone, we are not bound to support javascript-less scenarios, and we so we just load the templates + js on the initial load, then let the router take over and use something more like your first idea. Since it sounds like you’re just getting started, the biggest thing that helped us really get moving was realizing that it’s way easier to make changes to your model and then let your views subscribe to model change events (instead of the other way around).

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am reading a book about Javascript and jQuery and using one of the
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I have a French site that I want to parse, but am running into
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.