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

  • Home
  • SEARCH
  • 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 8932287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:17:56+00:00 2026-06-15T09:17:56+00:00

Is it conventional to use Marionette.ItemView for view classes that do not have a

  • 0

Is it conventional to use Marionette.ItemView for view classes that do not have a specific model property associated with them?

As Marionette.View is not meant to be used directly, it seems like an ItemView makes sense as a view class with convenient defaults and bindings.

Or, should one just resort to using Backbone.View? If so, is there a way to hook Backbone.View into Marionette’s evented and garbage-collected architecture?

Thank you for clarification!

  • 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-15T09:17:57+00:00Added an answer on June 15, 2026 at 9:17 am

    ItemView can be used without a model. I do this quite regularly.

    If you need to specify data for an ItemView, but not have that data in a Backbone.Model, you need to override the serializeData method:

    
    MyView = Marionette.ItemView.extend({
      serializeData: function(){
        return {
          my: "custom data"
        };
      }
    });
    

    the base Marionette.View isnt’ meant to be used directly because it doesn’t provide a render function on it’s own. That doesn’t mean you can’t use it to create your own base view types, though. You could, for example, build a view type for your application that deals with rendering google maps or a third party widget or something else that doesn’t need the general Backbone.Model based rendering that ItemView has in it.

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

Sidebar

Related Questions

We have a dynamic languaging system that doesn't use conventional resource files; fetching resources
Conventional wisdom tells us that high-volume enterprise java applications should use thread pooling in
I have an ASP.NET MVC 2 project that renders conventional strongly typed pages, but
Is there a convention for whether or not to use a property to calculate
I need dynamic entries in ListPreference so I can not use conventional way of
In my naming convention, I use _name for private member variables. I noticed that
Other than convention, is there any reason to use or not to use local
When is the proper time to use userdata? Why is it good/not good? And
I have inherited a LinqToSql application which is making use of GUID keys for
I have inherited a conventional three tier web app with ASP.net 2.0 for the

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.