NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started 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
-
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
-
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
-
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
-
Will attend your conference with our Argentinian Clarion Group!
Regards