Hi!

Yes of course! When the value is changed, PHP can send the new value to ape 
directly (search for something called inlinepush). Ape then relay the new value 
to the javascript client running in the browser. All in real time. 

You can check the documentation on the official website. Pablo's ApePubSub 
framework also have a php link demo (https://github.com/ptejada/ApePubSub).


  - Louis

Envoyé de mon iPad

> Le 2014-03-20 à 16:47, Jesse <[email protected]> a écrit :
> 
> I'm trying to create a real-time entry counter for the Wordpress plugin 
> Gravity Forms. I've got the counter itself working fine...but I'm struggling 
> to figure out how to make it update in real time without setting some timer 
> to just repeated query the DB every 30 seconds or something. Obviously this 
> would be inefficient. 
> 
> Could APE help me in this situation? Basically all I need is to pass a PHP 
> variable to Javascript in real time whenever the variable changes.
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "APE Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to