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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:16:40+00:00 2026-06-06T21:16:40+00:00

I have a schedule/calendar app that I wrote in Rails that I’m rewriting using

  • 0

I have a schedule/calendar app that I wrote in Rails that I’m rewriting using Backbone (and Rails, still).

In the old app, when you would click a time slot to make a new appointment, it would pass the date and time in the query string.

For Backbone, maybe I want to do the same thing. I’m apprehensive, though, because 1) I don’t know how to read the query string with Backbone (which isn’t a big deal – I can figure that out) and, more importantly, 2) maybe Backbone offers a way to pass this data that’s better than what I was doing before.

So my question is: should I pass the date/time data in the query string or does Backbone have a better way that I haven’t thought of? The query string solution has always felt a little clunky, so I thought I’d check.

  • 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-06T21:16:42+00:00Added an answer on June 6, 2026 at 9:16 pm

    Backbone implements a REST API out of the box, which you should try to follow as much as possible.

    url              HTTP Method    Operation
    /api/books       GET            Get an array of all books
    /api/books/:id   GET            Get the book with id of :id
    /api/books       POST           Add a new book and return the book with an id attribute added
    /api/books/:id   PUT            Update the book with id of :id
    /api/books/:id   DELETE         Delete the book with id of :id
    

    For the purpose of creating a new Appointment. You’d basically make a new instance of AppointmentModel, which extends Backbone.Model. Define the URL as “/api/appointments” or something similar.

    Calling appointmentModel1.save() will issue a POST to /api/appointments containing all the data in the model.

    Don’t use QueryStrings – or you’ll end up overriding the backbone URLs EVERYWHERE and will loose a lot of functionality that backbone can take care of for you.

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

Sidebar

Related Questions

I have a TabBar App. I have created a UITableView class called Schedule that
I have a schedule grid based on a HTML table using jQuery/jQuery UI drag
I have a train schedule app, and I am trying to calculate the difference
I have two tables: a schedule table that contains information about how an employee
In my iPhone app, I have this button, that opens a webcal:// URL in
I'm using the event_calendar gem in a rails app. Event_calendar adds the following to
I have a decent working web application (Java/Servlet/Jsp) that I would like to improve
I have a model named Calendar . The validations that will be applied to
I am currently using VB. I want to do a Calendar Control which have
I have an app where I want to schedule some events. So I want

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.