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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:02:09+00:00 2026-05-18T04:02:09+00:00

I am creating an application where client-side functionality calls various services to return results/content

  • 0

I am creating an application where client-side functionality calls various services to return results/content etc. At the moment, I have 3 controllers, with their actions which is working fine. What I’m trying to decide is how to manage list content, i.e. in 2 instances, there will be JSON lists of drop-down data outlined below:

In one page, there would be a dropdown that needs to call a list of e.g. Car Makes. Once selected a make, another call to then return two additional arrays of e.g. Car products etc. In another page, there is just one call to return two arrays of products. The common theme is that it is essentially list management.

At the moment, I have my controllers setup as:
ExistingMember
Switcher
NewMember

Switcher requires a list of CarMakes, and then associated call to get products.
ExistingMember requires a list of Products.

What is the best way to setup my Controller/Action/id?

I have toyed with various options:

  • /Switcher/CarMakes
  • /Switcher/CarProducts/7
  • /ExistingMember/Products

Also modifying routes for brevity:

  • /{controller}/List/{action}/{id}
  • /Switcher/List/CarMakes
  • /Switcher/List/CarProducts/7

Or moving to a dedicated list controller

  • /List/CarMakes
  • /List/CarProducts/7
  • /List/Products
  • 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-18T04:02:10+00:00Added an answer on May 18, 2026 at 4:02 am

    How you define your routes and overall controller architecture is pretty subjective but I usually give out the same advice for questions like this:

    Do what makes sense to you and your team.

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

Sidebar

Related Questions

I am creating a client side application which needs to create a log of
I am creating an application in which I have two mxml components, MainPanel.mxml and
When creating a web application, and lets say you have a User object denoting
I am just getting started creating an AJAX application using server side push. I
I'm creating the server side implementation of an AJAX based web application, where the
I work on a chat-like application, where I use Silverlight on the client side
I am creating a stand alone application for a client and I am going
I am creating an intranet application in php that is running on a client's
I'm creating an application which lets you define events with a time frame. I
I'm creating an application that will store a hierarchical collection of items in an

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.