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

124
Vistas
Creating a web-based direct message chat service?

Looking into creating a web-based chat service similar to popular apps like telegram/groupme. I've already started the base design layout with html/css/javascript, but I am unsure of how the actual chatting would work. I've looked into solutions such as socket.io, but that seems more like a real time "chatroom" solution rather than direct messaging.

I've thought of my own ways of doing it like creating a new php document in a directory with a random link every time a user creates a new chat and appending the new messages to that php page. Then loading that page in whenever a user clicks on an open chat (only letting users in based off their usernames of course). However, I doubt it's that simple. Curious if you guys could enlighten me in the way of web-based direct messaging.

Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Web Sockets for client to server and backwards. Web RTC for peer to peer communication. Read about them both in MDN docs.

https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API

https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API

Start with the examples, they are more fun.

about 4 years ago · Juan Pablo Isaza 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