NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 13, 2017, 08:24:57 AM

Title: NetRefresh... NetWebrefresh? how
Post by: Alberto on March 13, 2017, 08:24:57 AM
I have a calendar which is seen and updated by many users.
How to refresh the calendar on every user when one of them updates it?
Thanks
Title: Re: NetRefresh... NetWebrefresh? how
Post by: Bruce on March 16, 2017, 12:23:58 AM
Hi Alberto,

The web is (mostly) a "pull" technology. Meaning the browser asks for a page and that's what it gets. The web (traditionally) had no way to "push" values from the server to the client.

Then along came web sockets (supported in NT9, requires Cryptonite) which allows the browser to "hold" a connection open to the server, and for the server to then send data back down that socket. 

So to answer your question simply it's "use web sockets". It's slightly more complicated in terms of using the calendar, and I would likely need to add some code to the calendar to make that a bit easier, but ultimately will be based on web sockets.

cheers
Bruce

Title: Re: NetRefresh... NetWebrefresh? how
Post by: Alberto on September 27, 2017, 05:16:02 AM
Hi Bruce, now that we are in NT10 and with many new sokets functionality.
How can we add NetRefresh to a browse, a claendar or whatever?
This seams to a very good feature to add.
Regards
Title: Re: NetRefresh... NetWebrefresh? how
Post by: Bruce on September 27, 2017, 07:16:40 AM
yes, it's a good idea, and it's on my list, but I haven't done it yet.
I'm off to CIDC next week, so that's my priority at the moment...

cheers
Bruce
Title: Re: NetRefresh... NetWebrefresh? how
Post by: Alberto on September 27, 2017, 07:26:47 AM
Will attend your conference with our Argentinian Clarion Group!
Regards