Hi,
Do you know yshout (a ajax powered shoutbox) ? It uses the php fwrite and
read functions to save json into a textfile which would be updated every
time someone shouts. I really like the idea of APE streaming and would like
to take advantage of a great framework.
Could you help me with this? I would appreciate it, really.
Den onsdagen den 22:e augusti 2012 kl. 20:58:53 UTC+2 skrev Pablo:
>
> You are already submitting your shouts to a PHP script so why not just
> save them in PHP, and restored then from PHP as well.
>
> There is a trick in PHP where you can push the the info to the APE server,
> close the connection and then save the message to the database. This
> greatly increases the performance of your application and is simple.
>
> ignore_user_abort(true);
> header("Connection: close");
> header("Content-Length: " . mb_strlen($response));
>
> echo $response;
> flush();
>
> Where $response is the response from the APE server
> On Aug 22, 2012 1:10 PM, "Lloyd Adler"
> <[email protected]<javascript:>>
> wrote:
>
--
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/