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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:04:05+00:00 2026-06-12T12:04:05+00:00

In backbone.js, my understanding of communication with the server to retrieve data is cloudy

  • 0

In backbone.js, my understanding of communication with the server to retrieve data is cloudy at best… My current confusion is:

When you use a Collection you can fetch a set of data from the
database through the Model and filter out unwanted results. My concern
with this is that in an instance where the unfiltered results ends up
being millions of results long, this would slow things down.

I know this must not be the case of how it functions because others use backbone.js and I haven’t seen this complaint before.

QUESTION:
Through backbone.js, when you fetch a set of objects where does it communicate to and how do you pass variables to specify filters for the method? For example, call to a get method that could take a user_id to return objects with the associated user_id.

If this is not the correct approach please let me know.

Explanation of how backbone.js communicates with the server, what type of interface it expects to communicate. Examples would also be very helpful.

Any help is greatly appreciated.

  • 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-12T12:04:07+00:00Added an answer on June 12, 2026 at 12:04 pm

    In the documentation there’s a bit where you can pass in jQuery options. In those options you can set the “data” parameter, which is passed in as query parameters or as form parameters, depending on if it’s a POST or GET.

    jQuery.ajax options can also be passed directly as fetch options,
    so to fetch a specific page of a paginated collection:
    Documents.fetch({data: {page: 3}})

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

Sidebar

Related Questions

I've fetched a Backbone collection, and now I want to fetch another data bulk,
In Backbone.js I can appoint where the model fetches it's data: var Book =
My Backbone Collection receives 30 models on fetch(). I have tried newColl=origColl.first(2); to return
With Backbone.js I've got a collection set up with a comparator function. It's nicely
I'm trying to understanding backbone code. I read this http://addyosmani.com/blog/building-spas-jquerys-best-friends/ then I plan to
Backbone,Node : when i call fetch method, fetch is successful in server but when
A Backbone app which I'm developing has a collection and a model, and associated
I'm working with backbone and lazy-loading both templates and data for one of my
I'm new to backbone and trying to set it up in Sinatra, but I
As in the backbone-todolist example,I have a collection of elements. I made 2 views,

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.