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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:53:57+00:00 2026-05-27T06:53:57+00:00

Building a Jquery application which calls a number of endpoints to access data from

  • 0

Building a Jquery application which calls a number of endpoints to access data from two different web apps in my application. At one point the output on the page is dependant on data from both webservices. For example when a user submits a search webservice A retrieves codes for an item , then webservice B makes a call using the codes so it can get more details. These details are then displayed in a results table.

At the moment i have an ajax call and when it gets the codes it then calls webservice B using another ajax call to get details.

Should i be lookin to cut down on the number of roundtrips to the server by making the second webservice call from my server or is this acceptable behavior? I dont have the option to merge the code behind the webservices so i have to continue accessing the data via two distinct calls.
thanks

  • 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-27T06:53:58+00:00Added an answer on May 27, 2026 at 6:53 am

    Here is my advice:
    – Do it server side for the following reasons

    1. You’ll have a better and transparent extensibility to adress other data sources , that may use different protocols (SOAP for example).
    2. It won’t require to perform some “business logic” of data combination & filtering client side , which is a very very bad practice
    3. It will let you define a clean & totally controlled application protocol between your client & your server. If you manage to do it well, this “protocol” can even be relatively agnostic of served data, and could accept some client driven parameters (as the serialization format you’ll prefer (JSON or XML or whatever suits your need)
    4. This server controlled approach can be bound both to an API that you can reuse late in other client applications and also to “server side” rendering code that could perform business logic to drive html rendering based on server received data from the web services.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a AJAX intensive web application (using ASP.NET, JQuery, and WCF web
I'm using a lot of JQuery in a web application that I am building
I'm building web a javascript application using jquery, knockoutjs and less (for css). Works
I'm building a Django web application which has a lot of html generated on
I am building a SAAS web application and as soon as I include jQuery
I am building a web application in which I would like to include the
I'm building a Javascript/AJAX heavy web application using jQuery and I'm looking for a
I am building an ASP.NET MVC web application and I'm using jQuery for some
I'm building an Android mobile application using HTML, CSS and JavaScript (jQuery) which will
I am building a simple mapping application that shows routes from each airport, which

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.