🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #232224

Re: Jak synchronicznie odświeżać zawartość strony?

#232224
From: Borys Pogoreło
Date: Tue, 01 Jan 2019 15:45
13 lines
1243 bytes
Dnia Sun, 30 Dec 2018 19:22:08 +0100, Marek S napisał(a):

> Czyli jeśli pojawi się coś nowego, to inne "moduły" JS zgarną daną
> informację i jeśli będzie ona powiązana tematycznie z ich
> funkcjonalnością, to pobiorą aktualne dane. 
> 
> Jak byście rozwiązali temat?

Websockety i/lub long-polling. Najprościej przez socket.io.

-- 
Borys Pogoreło
borys(#)leszno,edu,pl
Technical Details
Message-ID: <11br09gcq7liv$.1gyz959qyoohx$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
References: <q0b2co$hbh$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
From: Borys Pogoreło <borys@pl.edu.leszno>
Newsgroups: pl.comp.lang.php
Subject: Re: Jak synchronicznie
 odświeżać zawartość strony?
Date: Tue, 1 Jan 2019 16:45:41 +0100
Organization: snafu
Lines: 13
Message-ID: <11br09gcq7liv$.1gyz959qyoohx$.dlg@40tude.net>
References: <q0b2co$hbh$1@node1.news.atman.pl>
NNTP-Posting-Host: public-gprs177301.centertel.pl
Mime-Version: 1.0
X-Trace: thunar.promontel.net.pl 1546357486 29358 46.134.31.214 (1 Jan 2019 15:44:46 GMT)
X-Complaints-To: abuse@promontel.net.pl
NNTP-Posting-Date: Tue, 1 Jan 2019 15:44:46 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.14.1pl
X-fnord: obey.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit