How To Push From Php To Android?

What should do , how to use the Node. Js  push messages the PHP website ?

  • Now these days,I need to add real time tech to my php website. About consider 1       I know node.js uses an event-driven, non-blocking I/O model,these will make my site more cool,and I  use express and socket.io create a demo just like the lesson (http://net.tutsplus.com/tutorials/javascript-ajax/using-node-js-and-websockets-to-build-a-chat-service/?search_index=19)      The problem is if i get new items from mysql ,and how to push these  to my php website? About consider 2       due to website frame,just use php achieve the method,if i use these tech i think it will out the load capacity

  • Answer:

    Fiddle around with so...

Matthew Osborne at Quora Visit the source

Was this solution helpful to you?

Other answers

You can use http://socket.io/ and emit message when you are saving your data to mysql. in the node app, you may broadcast the message to all client so that the application become real time.

Sonny Lazuardi Hermawan

Have a look at Socket.IO and Elephant.IO PHP Library

Robert Gabriel

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.