3 ms·
People were doing this in the 90s though. Before XMLHttpRequest it was: var i = new Image(); i.src = "/something.cgi?SEND_TO_SERVER" Then when the image is l
by axod 17y ago
People were doing this in the 90s though.
Before XMLHttpRequest it was:
var i = new Image();
i.src = "/something.cgi?SEND_TO_SERVER"
Then when the image is loaded, check the dimensions of it to receive a small amount of data from the server...
if (i.width==10) { // Server wants us to do X
I remember using this exact code to write an updating scoreboard for a worm game I wrote in js, in 1999. No pageloads etc. AJAX!
Software patents just need to die completely.
- budu3 17y agoI think hackernews used to use a similar method.
- axod 17y agoSure - It's obvious. Patenting anything like that is just ridiculous. It's like patenting the idea of having a pitched roof on top of a house. It's a shame some do see things like this as innovative unique ideas that need protecting. FWIW I don't think we help matters by constantly reinventing the same ideas with new buzzwords. "Real time web"? really.
- qeorge 17y agoThat image trick is brilliant. I have never heard of that before.
- lupin_sansei 17y agoanother classic technique was to pass a cookie back with the image and you could then access a couple of Kb of data
- chrischen 17y agoI think implementation should be allowed to be patented, but vague ideas describing what you want to do, but haven't done are worthless. They only reason they are worth something is because the government is artificially giving them worth by covering millions of possible implementation with a couple of sentences. On the brightside, more abuse means more unrest. So hopefully we're getting closer to reform.