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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:14:43+00:00 2026-05-24T09:14:43+00:00

Good day, This is more web service design than programming question I think. I’ll

  • 0

Good day,

This is more web service design than programming question I think. I’ll try to explain what I want to achieve. In example I have a 3 combo boxes(e.g. size, color, texture) on the page which are dependent on each other. We can select them only in turns(eg. 1st->2nd->3rd). After selecting combo box value, next combo box gets populated+enabled and we are able to select from it too.

I came up with a few solutions which I can apply for this problem.

  1. Is when we come to the page and loaded JavaScript sends a post with a request for data to populate those combo boxes. The response returned is a batch data of all variants(JSON) is parsed and handled by JavaScript with every selection client does.
  2. Page is loaded with only first combo box and the remaining ones gets filled with the default values. Every time client selects a value, appropriate event(ajax which leads to post get) is fired to fill/handle next combo boxes dependent on selections.

Myself I see that first one is quite complicated and the batch value can be very big in terms if there are lots of selection variations for each of the value. And the second one seems does too many useless requests to the server which I think can lead to server overload. What do you think of these solutions? Does the concept is okey? And is it worth to implement first solution instead of second one even it is harder?
If something you do not understand in my explanation please ask I’ll try to explain in more detail.

  • 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-05-24T09:14:44+00:00Added an answer on May 24, 2026 at 9:14 am

    I agree that pre-fetching everything is not a scalable solution, at some point there could be an unreasonable amount of data to fetch.

    The second solution of incrementally fetching data seems most common in my experience. I suppose that by “useless requests” you mean you’re concerned with repeatedly fetching the same data if the user back-tracks and then reselects.

    To address problem that I’ve used various caching techniques to optimise that behaviour.

    I would say that a succession of drop down boxes may not be the best UI. Some frameworks (eg. dojo) have tree widgets, like those you would use to navigate a directory structure. I think you might find that approach would look better, and it’s nicely extensible to beyond three levels of hierarchy.

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

Sidebar

Related Questions

Good day once more. Okay so what I want to do is to keep
Good day, We just converted our web application .NET 1.1 to .NET 2.0. We
Good day, I'm having a problem with asp.net 2.0 viewstate. Basically, I want to
Good day everyone. I am working on a Firefox extension, and I want to
Good day everyone I need to execute command on linux machine this command is
Good day. I found the example below, I need to append some more text
Good Day everyone!! One question.. or two.. Is it possible to use Expression Blend
This project is literally making me lose sleep. I think about it all day
Good day, I don't know how to describe my problem (which is more like
Good day, I have weird problem with drawing image. Code and pictures say more

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.