Re: Socket Communication

2019-01-23 Thread spiffyguy via 4D_Tech
Hi everyone, Just wanted to followup and let you know that I am on the schedule for the next 4DMethod webinar session on March 13th where I will present my component and go through the "why" and especially the "how" with examples and benefits. https://4dmethod.com/schedule/ Thanks Brent for

Re: Socket Communication

2019-01-21 Thread spiffyguy via 4D_Tech
Hi Steve, I have been working with WebSockets on a component I wrote for 4D. I love web sockets over long-polling. I designed and created a component that can just be dropped into any database. I am planning on demo-ing the component with examples on 4DMethod but figuring out the right date.

Re: Socket Communication

2019-01-15 Thread John DeSoi via 4D_Tech
Polling does not have to be an immediate request/response. See long polling: https://www.pubnub.com/blog/2014-12-01-http-long-polling/ With websockets your are going to have a connection open all the time anyway, so long polling is no more resource intensive. I would not use it for the public

Re: Socket Communication

2019-01-15 Thread Kirk Brooks via 4D_Tech
That looks pretty cool. I've built a chat app on PubNub a while ago. ( www.pubnub.com) I haven't looked back at PubNub recently - Pusher looks like they may have built out a few more tools. In both cases they have very generous free programs. On Tue, Jan 15, 2019 at 1:57 PM Welsh Harris via

RE: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
9 3:58 PM To: 4d_tech@lists.4d.com Cc: Welsh Harris Subject: RE: Socket Communication This is worth a look: https://pusher.com <https://pusher.com/> - setup a pusher channel in your pusher account - browsers subscribe to a pusher channel - 4D makes and http request to the pusher channe

Re: Socket Communication

2019-01-15 Thread Jeffrey Kain via 4D_Tech
+1 for pusher. Very handy for integration. > On Jan 15, 2019, at 4:57 PM, Welsh Harris via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > This is worth a look: > https://pusher.com > > - setup a pusher channel in your pusher account > - browsers subscribe to a pusher

RE: Socket Communication

2019-01-15 Thread Welsh Harris via 4D_Tech
This is worth a look: https://pusher.com - setup a pusher channel in your pusher account - browsers subscribe to a pusher channel - 4D makes and http request to the pusher channel - boom all the browser who have subscribed get the message Welsh

RE: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John DeSoi via 4D_Tech Sent: Tuesday, January 15, 2019 3:31 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: John DeSoi Subject: Re: Socket Communication Steve, > On Jan 15, 2019, at 3:08 PM, Stephen

Re: Socket Communication

2019-01-15 Thread John DeSoi via 4D_Tech
Steve, > On Jan 15, 2019, at 3:08 PM, Stephen J. Orth > wrote: > > Not sure I understand what you are saying, would you be able to provide me > with a high level overview of what you are thinking? HTTP is a request/response protocol where the server only responds to requests from the

RE: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
D iNug Technical <4d_tech@lists.4d.com> Cc: John DeSoi Subject: Re: Socket Communication Do you really need the ability for the server to send data asynchronously to the client (browser)? If not, then HTTP should work and is already supported in the browser and on 4D Server. John DeSoi, Ph.D

Re: Socket Communication

2019-01-15 Thread John DeSoi via 4D_Tech
Do you really need the ability for the server to send data asynchronously to the client (browser)? If not, then HTTP should work and is already supported in the browser and on 4D Server. John DeSoi, Ph.D. > On Jan 15, 2019, at 1:30 PM, Stephen J. Orth via 4D_Tech > <4d_tech@lists.4d.com>

RE: Socket Communication

2019-01-15 Thread Stephen J. Orth via 4D_Tech
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com> Subject: RE: Socket Communication Hi Steve, There is a feature request for Web Sockets on the forums: https://forums.4d.com/Post/EN/19129127/1/19129128#19129128 Within this thread, there is also a sample da

RE: Socket Communication

2019-01-15 Thread Timothy Penner via 4D_Tech
Hi Steve, There is a feature request for Web Sockets on the forums: https://forums.4d.com/Post/EN/19129127/1/19129128#19129128 Within this thread, there is also a sample database with a working example of using ?Web Sockets in 4D. -Tim