- This was more a pointer, you may want to include that in your next release
- Ok, so we disagree
- Nice workaround ;-)
The last point requires some more text, so I'll comment on that here.
IMHO, your GM script (no matter funny and handy) will not help much. You still request a lot of pages and AFAIK, the content is still being returned to the client (we just ignore it at this point). Since we already receive the whole page back, why not strip out the relevant information to update the new "reputation"?
Also, why not update the "votes left" in the XP Nodelet at the same time? (I don't believe you do that now). That way, in the end, we end up with slightly more page requests, but at least it's fun ;-)
Right now, I'm actually putting more stress on the PM server, for usually I vote for a few nodes, then hit the Vote button and all is handled in a single page request. I see the amount of votes I have left, and I see the node's reputation. Now I launch a request for every single vote, and I have to launch another one, to see the result!
"I must admit I was not expecting to please everyone ;-)"
You've posted code to a critical (and often cynical) audience. Expect feedback ;-)
All code is usually tested, but rarely trusted.
|Replies are listed 'Best First'.|
Re^2: AJAX replacement for voting buttons
by bsdz (Friar) on Jan 03, 2007 at 12:46 UTC
by xdg (Monsignor) on Jan 03, 2007 at 13:39 UTC
by f00li5h (Chaplain) on Jan 04, 2007 at 11:21 UTC