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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:19:14+00:00 2026-06-09T14:19:14+00:00

I am confused about using nodejs. I need help in it. All I want

  • 0

I am confused about using nodejs. I need help in it. All I want to do is to create a PHP MySql Application that shows sales information of any office. I want the data to be in real time. That is whenever a change is made to the database the result is displayed into the web page without page refresh. After doing a research, I found that nodejs and socketio can do this work, but I’m not sure how to implement this. I’m using a XAMPP localhost in office. I really need a help on this issue. Thanks in advance.

  • 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-06-09T14:19:16+00:00Added an answer on June 9, 2026 at 2:19 pm

    You may want to consider the following approach: from within your PHP, do a push of data via an outgoing HTTP/POST to a WebSocket server. The WebSocket server maintains the real-time connections to your JavaScript frontends. Upon receiving data, the JS updates the UI. When your PHP app is a classic one (not a single-page web app), that means new page loads when the user navigates through your Web app. Which in turn means loosing the WS connection and reestablishing it.

    These are some challenges:

    • You need not only a WebSocket server, but on top of that some message brokering (publish & subscribe).
    • That server needs to have a HTTP/POST (REST) endpoint for your PHP to push to.

    If you want to go with a hosted cloud service, I’d recommend looking at pusher.com.

    If you want to get going fast, host your own stuff, but don’t want to build/develop the functionality, you may look at http://www.tavendo.de/webmq
    Here is an example: https://github.com/tavendo/WebMQConnectPHP/tree/master/examples/basic

    Disclosure: I work for Tavendo.

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

Sidebar

Related Questions

I am confused about using php or python for implementing server program . I
I'm very confused about using destructors in Qt4 and hope, you guys can help
I am confused about using ajax or jquery so I want to know what
I'm very confused about behaviour of PHP's left shift function. I'm using it on
I'm using ZF for an MVC application and am massively confused about how my
I'm a bit confused about using STL set::find() for a set of my own
I'm confused about the correct way of using asynchronous socket methods in C#. I
I am using a UITextView and I am confused about making the keyboard to
I'm new to SVN and I'm quite confused about a problem. I am using
I am a little confused about the roles of a java application server and

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.