NetTalk Central

Author Topic: NetRefresh... NetWebrefresh? how  (Read 4155 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NetRefresh... NetWebrefresh? how
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetRefresh... NetWebrefresh? how
« Reply #1 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


Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetRefresh... NetWebrefresh? how
« Reply #2 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetRefresh... NetWebrefresh? how
« Reply #3 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

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetRefresh... NetWebrefresh? how
« Reply #4 on: September 27, 2017, 07:26:47 AM »
Will attend your conference with our Argentinian Clarion Group!
Regards
-----------
Regards
Alberto