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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:37:44+00:00 2026-06-10T10:37:44+00:00

For instance: assume that BackBoneModel is a model that i’ve created and extended to

  • 0

For instance:

assume that BackBoneModel is a model that i’ve created and extended to Backbone.Model

var specificModel = new BackBoneModel;
var view = new BackBoneView({model: SpecificModel});

or:

var view = new BackBoneView({model: BackBoneModel});

I am having trouble understanding whether, when creating a view and attaching a model, it is required that I attach an model object I’ve instantiated or the actual model itself. Thanks for your help.

  • 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-10T10:37:46+00:00Added an answer on June 10, 2026 at 10:37 am

    The short anwser is that you should be using a specific instance. When a view is tied to a specific model it contains a reference to that model and you can then reference that models attributes, and further bind to it’s attributes so that changes to them cause the view to rerender.

    Not all view’s need to have a model specified but if you do want it then doing it this way is (that is when you create the view) is a shortcut to specifying it afterwards so instead of

    var view = new BackBoneView();
    view.model =specificModel;
    

    You just use

    var view = new BackBoneView({model: BackBoneModel});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's assume that you've created a SharePoint solution - a WebPart, a feature for
Let's assume that I have following models: class ScoutBook(models.Model): troop = models.ForeignKey('Dictionary', limit_choices_to={'type' :
I am new at JSF, so do not assume that it is not some
Assume that you have a running SQL Server Express instance named (local)\SQLEXPRESS. Its database
Let's assume that we have a Model with several properties on it and we
I am trying this in an XQuery (assume that doc('input:instance') does indeed return a
And if so, what is the syntax? Assume that I want an instance of
I have assumed that if instance variables are managed by spring IOC, and are
For instance: I have a swf, lets say A, that loads another swf, B.
Assume that I have a global variable user in application....like this: # GET /users.xml

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.