Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^12: Update the GUI (What we want?)

by LanX (Saint)
on Jul 24, 2016 at 10:44 UTC ( [id://1168423]=note: print w/replies, xml ) Need Help??


in reply to Re^11: Update the GUI (What we want?)
in thread Update the GUI

From what I understand this approach is wasting resources.

I don't see the point to return several kb of html with the full node just to let JS parse the votes out. (Except maybe for a prove of concept of DOM manipulation)

update

as I already said

> > > > Adding a new vote-interface shouldn't be harder

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^13: Update the GUI (What we want?)
by Anonymous Monk on Jul 24, 2016 at 22:03 UTC

    From what I understand this approach is wasting resources.

    :) Not that many extra ones that aren't wasted already

    Its very much like hitting talk or refresh in chatterbox

    It is a common viewing pattern to view a node, vote on it, then scroll down, to see a reply you like, vote on it, and so on

    Also common to open a node in a new tab and do the same

    So resource wasting? Not really

    But it doesn't have to do that, code could pick a different node that returns less byes, like 162 bytes

    Or it could simply "cue" votes and cast them every 30 seconds at a cost of under 500 bytes

    as I already said

    as I already agreed :p

      > Its ...

      *It's

      > ... very much like hitting talk or refresh in chatterbox

      The difference here is that CB has not only already plenty of lean alternatives (like sidebar) but also "tickers" which could be called with JS support in the CB nodelet (hence AJAX )

      OTOH no voting ticker yet.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        The difference here is that CB has not only already plenty of lean alternatives (like sidebar) but also "tickers" which could be called with JS support in the CB nodelet (hence AJAX )

        Rendered by the XP XML Ticker is close enough

        Is the vote count really important to the voter? As long as they cast their ++ or -- ... the reputation can wait for page reload

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2025-12-15 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (95 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.