PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Application-Level Queue, Server-Push, etc.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Application-Level Queue, Server-Push, etc.

Réponse
 
LinkBack Outils de la discussion
Vieux 20/01/2008, 18h57   #1
ashore
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Application-Level Queue, Server-Push, etc.

Folks, am working on a real-time-ish application - say, a complex form
of chat - in which a few different processes will generate data and
one or more http clients will need to be notified. (Something like
this was used at http://ajaxian.com/archives/the-brot...-shared-mosaic
-- but that appears to be very specific to their problem area and I'm
interested in something more generic.

"Slow load" (see http://www.obviously.com/tech_tips/slow_load_technique)
seems a good mechanism to notify the client, but the simple form of
that needs build up to accommodate events of several types from a
number of sources.

It looks to me that application-level script-to-script notification is
needed - and exists (see http://www.leosingleton.com/projects/code/phpapp/)
plus a queue mechanism, which also exists (see http://www.phpclasses.org/browse/file/5025.html)

I've googled for it and failed to find a packaging of these elements.
I'm interested in hearing about any that might exist, before I try to
roll my own. Thanks, all.

AS
  Réponse avec citation
Vieux 21/01/2008, 12h38   #2
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Application-Level Queue, Server-Push, etc.

On 20 Jan, 18:57, ashore <shor...@gmail.com> wrote:
> Folks, am working on a real-time-ish application - say, a complex form
> of chat - in which a few different processes will generate data and
> one or more http clients will need to be notified. (Something like
> this was used athttp://ajaxian.com/archives/the-broth-ajax-shared-mosaic
> -- but that appears to be very specific to their problem area and I'm
> interested in something more generic.
>
> "Slow load" (seehttp://www.obviously.com/tech_tips/slow_load_technique)
> seems a good mechanism to notify the client, but the simple form of
> that needs build up to accommodate events of several types from a
> number of sources.
>
> It looks to me that application-level script-to-script notification is
> needed - and exists (seehttp://www.leosingleton.com/projects/code/phpapp/)
> plus a queue mechanism, which also exists (seehttp://www.phpclasses.org/browse/file/5025.html)
>
> I've googled for it and failed to find a packaging of these elements.
> I'm interested in hearing about any that might exist, before I try to
> roll my own. Thanks, all.
>
> AS


I'd start by forgetting about the suggestions in
http://www.leosingleton.com/projects/code/phpapp/ this is *so* not the
way to solve either your problem or the one described on the page.

Most message queueing systems are based around providing transactional
integrity - and you're going to get tied in knots trying to get this
to work for a browser based system ( where you can't guarantee
notification of the end of a session).

Sorry I've got nothing positive to add - but I can't see any solution
other than starting from scratch - but yes, using ajax to poll a
deferring page is probably the way to go.

C.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16569 seconds with 10 queries