Agree with Louis,

Syncing data across servers is not what APE is for. Sure you could use cUrl
for this task as suggested but what ever you are trying to do, rethink it,
i think you have the wrong idea for a couple of reasons:

- you are trying to sync applications written in PHP, not servers
- you should consider having your applications share a storage resource
like a DB or Redis server
On May 15, 2014 5:25 PM, "Louis Charette" <[email protected]> wrote:

> I don’t think such a client exist. Furthermore, you would need to keep a
> connection open from PHP to the APE server to received data in realtime and
> I don’t think it’s that efficient using PHP. If the volume of data isn’t
> really big, another way to do it would be having APE push data manually to
> the server using a HTTP request. For example:
>
> Server #2 have hew data —> APE Server —> Server #1, #3, #4…
>
> But you could do something similar without APE Server in between (using
> CURL for instance)
>
>
>   - Louis
>
> Le 2014-05-15 à 14:35, Gabriel Spradlin <[email protected]> a écrit
> :
>
> I'm looking into APE because I have several servers that I want to trade
> backend data. As a result I'm not running a website where I can copy and
> paste the JS into the page and have it update page values in real-time.
>
> I've seen plenty of examples of PHP inliine push which is great in that I
> can use a backend PHP process to grab the data, preprocess it and then push
> to everyone on a broadcast channel (assuming I've understood what APE is
> and how to use inline push). However, I have not seen any PHP clients for
> receiving data off of a channel. Are there any? I already have a PHP code
> base for dealing with the data once received and I have never programmed in
> Java or JS.
>
> I suspect I'd spend months finding little gotcha about the way JS operates
> differently from PHP. Bad or missing data will get expensive. As a result,
> I'm not interested in learning another language well enough to build a
> robust, well trapped, piece of data exchange code at this time.
>
> So if there is not PHP client I need to move on to some other solution.
>
> Thanks
>
> --
> --
> 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.
>

-- 
-- 
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