in reply to What are the proper names

G'day TorontoJim,

I'm unclear on the actual process flow. Here's a couple of suggestions; although, I'm uncertain if either of these is actually what you want.

A webpage I visit often is "Australian Government - Bureau of Meteorology". Information, such as the current temperature, is refreshed automatically. If you "View Page Source" and search for "refresh", you'll find examples of AJAX code that may be useful.

Take a look at "HTML: 4.2.5.3. Pragma directives" and follow the "Refresh" link. That has a couple of examples of how to automatically refresh pages.

I'm wondering how you were planning to inform users that data had actually changed. Would they notice if data in one table cell was modified? "Best Nodes" and similar pages on this site, notify users when the next update is due; however, the page does not automatically refresh — perhaps a similar message on your webpage would be useful (if it advised when the last change occurred). Without any idea of what your actual webpage looks like, I can't really be more helpful than that (and, perhaps, that's not a helpful suggestion at all).

— Ken

Replies are listed 'Best First'.
Re^2: What are the proper names
by LanX (Saint) on Dec 18, 2020 at 16:15 UTC
    > I'm unclear on the actual process flow.

    It's about "real-time online collaboration". IIRC you can try this out with google docs.

    Basically is the server informing all participants about changes, i.e. updating the webpage.

    There are different "newer" technologies for this already mentioned in this thread.

    Though the "older" Reverse Ajax aka Comet seems to be missing in that list. (we are using it at $work and it works well with browsers already allowing AJAX, but admittedly we don't need to scale this to more than a dozen users )

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      ++ Thanks for the information.

      The process flow, about which I was unclear, could have been one of the following (non-exhaustive list):

      • Database is updated; new data is propagated to all webpages.
      • One webpage user is designated as "master"; changes made by this user are propagated to any other webpages.
      • All webpages have equal standing; changes in any of these are propagated to all other webpages.

      — Ken