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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:17:20+00:00 2026-05-25T14:17:20+00:00

Most desktop chat applications probably use a specific software running on a distant dedicated

  • 0

Most desktop chat applications probably use a specific software running on a distant dedicated box. However, is there a way a chat application could be backed by a simple PHP/MySQL web site? If so, what general advice would you give in terms of logging in and sending/receiving text?

  • 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-25T14:17:20+00:00Added an answer on May 25, 2026 at 2:17 pm

    There are two problems with the architecture (PHP/MySQL) you propose.

    1) Chat is two-way traffic. This means that you need some way to push a message to your users.
    One option is to have your clients poll constantly for new messages (generating a lot of traffic).
    Another way is to wait with answering a HTTP request until a message exists. This is dependent on the timeouts in the network (timeout from proxy server, timeout from HTTP server). But it would work.

    2) You have to be able to communicate messages between PHP instances. When you load a HTTP page, a single PHP process is launched which transforms the PHP code into HTML. You are proposing to use MySQL as a common data store between those processes. This means that you would need to have your PHP code constantly poll the database. They also need to mark which messages have been transferred to the client and which haven’t. Maybe messages are lost along the way, there is no way to be sure.

    Because of these two problems, chat programs are better left to a specific architecture.

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

Sidebar

Related Questions

What are the most significant events that impacted desktop software development? I'm trying to
I use SQLite for a number of application on the desktop and PDA. Most
OOP is probably the most used programming paradigm in today’s software design. My question
From a programmer stuck in the web world... What are the most common desktop
Most of the implementations I find require a hardware instruction to do this. However
Where should I put a .desktop file in order to ensure that most desktop
Do you write consumer desktop applications with .NET languages? If so what type? My
Most of the desktop application development I do is in Swing, and I'm curious
X86 and AMD64 are the most important architectures for many computing environments (desktop, servers,
I made some GUI desktop applications on my first years of development, but my

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.