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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:51:35+00:00 2026-05-19T06:51:35+00:00

I have always thought of Ajax as JS on the client communicating with PHP

  • 0

I have always thought of Ajax as JS on the client communicating with PHP on the server.

Now, let’s suppose I introduce and extra tier into that model, such that I have a central server which communicates with a bunch of regional servers with which the end users communicate.

Can I use Ajax to communicate between the central server and the regional servers?

Is it possible? Does it even make sense? Should I be considering a different communications protocol?

  • 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-19T06:51:37+00:00Added an answer on May 19, 2026 at 6:51 am

    Ajax will communicate with any file on a publicly available web server. If you wanted to throw another tier into that mix, as long as both servers are publicly available, you could theoretically write PHP scripts on both servers and communicate with both of them.

    However, let’s say your tier’ed system looks like this:

    Ajax Script -> Central Server (internet) -> Regional Server (intranet)
    

    Your ajax script can communicate with the Central Server, but not the Regional Server. At least, not directly. As long as the firewall on the Regional Server permits the Central Server to communicate with it, you could write a script on the Regional Server to do what you need to do and return the results to another script on the Central Server you wrote that acts as a proxy. Your ajax script would then communicate with the Central Server which would communicate with the Regional Server on your behalf. Of course, if this is sensitive data, you’d want to do this over SSL.

    Is that the kind of answer you were looking for?

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

Sidebar

Related Questions

I have always thought that in order to connect to SQL server using windows
I have always thought it was best practice to be explicit in naming my
I am a self thought hobby programmer and therefore don't have the fundamentals always
Are hashtables always faster than trees? Though Hashtables have O(1) search complexity but suppose
I have always thought that the warp scheduler will execute one warp at a
I have a 2-dimensional jagged array (though it's always rectangular), which I initialize using
I have always and will continue to always close an HTML input such as
I have always wondered about this. So many application setups have a zip file
I have always enabled integrated security on my web apps inside IIS with the
I have always wondered how delegates can be useful and why shall we use

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.