I'm tyring to reasearch how to do something but I'm not sure what exactly to ask, I keep getting results that are not relevant.
I will have a webpage with a table (grid, whatever - this is just concept at present). When the page loads, the table will be populated. If I make a change to the data in the table, I can update the server (Perl script) using ajax - as I don't want the user to submit a request that refreshes or navigates away from the page they have open.
However, if two people have that table open on different computers, the second user won't see my update unless they refresh the display.
While I could have javascript poll the server (another Perl script) for any changes, is that really the best way to do it? It sems so 1980's. So here is what I need to know:
What do I need to research, study, investigate, practice, pull my hair out over to achieve this live(ish) updating of data from the server (Perl script)? I'll research it, study it, learn it - I just need to know what it is I'm doing that with.
Pretty please and thank you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.