[zeromq-dev] connect a Web Page to zeromq-radio

Justin Karneges justin at karneges.com
Wed Nov 29 20:23:19 CET 2017


You may also find Pushpin interesting:
https://github.com/fanout/pushpin

It can listen for data using ZeroMQ (SUB or PULL) and send over raw
WebSockets or long-lived HTTP responses. It's mainly useful if you have
a web API-oriented architecture.
Justin

On Wed, Nov 29, 2017, at 04:52 AM, Juergen Gnoss wrote:
> Many thanks Kevin,


> 


> that's exactly what I was looking for.


> 


> You made my day.


> 
> Ju
> 
> 
> 
> *From:* zeromq-dev <zeromq-dev-bounces at lists.zeromq.org> on behalf of
> Kevin Sapper <kevinsapper88 at gmail.com> *Sent:* Wednesday, November 29,
> 2017 7:44 AM *To:* ZeroMQ development list *Subject:* Re: [zeromq-dev]
> connect a Web Page to zeromq-radio>  
> Hi Juergen,
> 
> AJAX supports only polling which is not what you want. Have a look at
> WebSockets which support communications in both directions.> 
> 
> Also have a look athttps://github.com/zeromq/zwssock for your server
> and https://github.com/zeromq/JSMQ for the client (browser).> 
> //Kevin 
> 
> 2017-11-28 15:51 GMT+01:00 Juergen Gnoss  <jgnoss at hotmail.com>:
> 
>> 


>> I haven't done Web programming for a long time, so I'm a bit
>> outdated.>> 


>> What I need to do is:


>> 


>> The web page uses Frames.


>> 


>> In one of the frames I need to show a list of events that is
>> published>> by a czmq radio socket.


>> 


>> The list should be updated (kind of automatic) every time a new event>> is send by the socket.


>> 


>> I remember there was something like AJAX to do stuff like that,
>> but not>> sure what's the actual way to do it.


>> 


>> Someone can point me in the right direction please.


>> 


>> Ju


>> 


>> 


>> 
>> 
>> 
>> 
>> _______________________________________________
>>  zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> 
> _________________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171129/4be97be1/attachment.htm>


More information about the zeromq-dev mailing list