Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

179
Vistas
Axios | Ajax | Fetch async-await JS | XMLHttpRequest | Which are the best working with PHP?

There are various options:

  • Axios
  • Ajax
  • Fetch
  • XMLHttpRequest

I understand they are all used to fetch data without refreshing the page, but I am confused about which would be better to work with PHP?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Underneath they are all the same technology. Those are just different interfaces to doing the same thing - making an asynchronous HTTP request to the server without refreshing the page.

PHP doesn't know - and doesn't care - which one you use to make your request. All it knows is that a request arrived. How it was generated is not something which matters to it.

That's the beauty of protocols such as HTTP - as long as both client and server understand the protocol, they don't need to care how each other is actually implemented.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda