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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:05:42+00:00 2026-06-09T10:05:42+00:00

A dojo JsonRest will likely send something like this to the server: /FooObject/?foo=value1&sortBy=+foo,-bar I

  • 0

A dojo JsonRest will likely send something like this to the server:

/FooObject/?foo=value1&sortBy=+foo,-bar

I have express and mongodb on the other side.

It’s easy enough to get foo. But then, I was just about to write my own function to parse sortBy when I realised: there must be a better way? Surely, this is a common problem which should have an established solution…? Maybe a well-known middleware that is escaping me right now?

I will also need to make it possible to add wildcards (/FooObject/?foo=value%&sortBy=+foo,-bar so that anything starting with value will work. But then again, I wonder if there is some kind of established pattern for this too?

  • 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-09T10:05:44+00:00Added an answer on June 9, 2026 at 10:05 am

    Well, there is no way to do it… time to write something and place it in GitHub!

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

Sidebar

Related Questions

I'm using dojo. I've got something like this: <a id=fooBar onclick=foo();bar();>Foo then Bar</a> I
I've created a Dojo module which depends on dojox/data/JsonRestStore like this: define(my/MyRestStore, [dojo/_base/declare, dojox/data/JsonRestStore],
I have this problem I'm using DataGrid + dojo.store.JsonRest as store. I want to
I'm using Dojo JsonREST store to communicate with a RESTful API on the server.
I am using a Dojo Datagrid connected to a dojo.store.JsonRest through an dojo.data.ObjectStore and
Here is my code: dojo.provide(test.validation); dojo.declare(test.validation, null, { addValidate : function(a) { this.a =
Dojo has this: http://download.dojotoolkit.org/release-0.4.3/dojo-0.4.3-widget/tests/widget/test_Select.html Similar to Google Auto-suggest. Does jQuery have anything similar?
While executing this below Dojo code the call back mehod is calling the onFailure.
I followed this tutorial to connect a digit.tree to a store.JsonRest and everything works
I just created this dojo widget and now I want to attached an event

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.