Is there a way to ‘listen’ for a database event and update a page in real time?
I’m looking for a way to create a simple HTML table that can be updated in real-time upon a database change event; specifically a new record added.
I’m looking for a way to create a simple HTML table that can be updated in real-time upon a database change event; specifically a new record added.
I am trying to run a process on a web page that will return its output in realtime. For example if I run ‘ping’ process it should update my page every time it returns a new line (right now, when I use exec(command, output) I am forced to use -c option and wait until process finishes to see the output on my web page). Is it possible to do this in php?
I have recently been looking around, to find a good way to communicate between nodeJS and PHP. Here is the idea : nodeJS is still quite new, and it can be kind of tricky to develop a full application only with it. Moreover, you may need it only for one module of your project, like realtime notifications, chat, … And you want to manage all the other stuff with PHP, because it is probably more easy for you (and you can take advantage of the existing frameworks, like CodeIgniter or Symfony).
I need to work out the best way to read data that is being written to a file, using node.js, in real time. Trouble is, Node is a fast moving ship which makes finding the best method for addressing a problem difficult.
How to show continuous real time updates in browser like facebook ticker, meetup.com home page does? In python, PHP, node.js and what would be the performance impact at the server side ?
Also how could we achieve the same update thing if the page is cached by an CDN like akamai?
We can trace if a connection is established or disconnected by this code
What is a blocking function or a blocking call?
I’m using react js for building frontend for a website. An express server (which is a microservice) sits in between the front end and MongoDB. I make Axios calls from react js to express server (URL = http://localhost:5688/chat ) using GET, POST, PUT whenever and wherever needed.
I need to dynamically load/render part of a page in nodejs (v1.8.15) with express (>3.0) framework. Generally, I want to create a single-page app.
I Am working on project contain dashboard(laravel) and mobile app (Flutter)
There is a chat interface in the mobile application to talk with the admin on the dashboard
I searched for the appropriate way to do this, but I did not find a solution that works for me
What is the best way to implement the required real-time chat and in the least possible time?