By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,417 Members | 1,825 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,417 IT Pros & Developers. It's quick & easy.

Submitting data without a submit (NetFlix star ratings)

P: n/a
Hi -

Does anyone know how Netflix manages its star rating system? The javascript
is either computer generated or obfusicated. It's more trouble to reverse
engineer than it's worth. I'm not very interested in their particular
solution for rating movies - I'm not in the business - but I'd like to know
the data transfer mechanism behind it.

It looks like they found a solid way of moving data between client and
server without getting the page redrawn. I found another script called
votio.php on the net. It does something similar but requires PHP (why?) to
create a XMLhttp stream. I'm not sure why it's server side. Maybe the
server has to create the stream object then pass it's handle on to the
client on the fly. Close?

I'm using IIS and msdn hints at some similar techniques.

The 10,000 mile view would still be helpful. What's this data transfer
thing called? Why isn't it used more? Why hasn't it replaced forms and
links? It seems incredibly useful and surprisingly stable (eg Netflix).

Thanks,
Brian

Mar 10 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <NJ*******************@tornado.socal.rr.com>,
br***@nospam.com says...
Hi -

Does anyone know how Netflix manages its star rating system? The javascript
is either computer generated or obfusicated. It's more trouble to reverse
engineer than it's worth. I'm not very interested in their particular
solution for rating movies - I'm not in the business - but I'd like to know
the data transfer mechanism behind it.
Dunno. Ajax?

It looks like they found a solid way of moving data between client and
server without getting the page redrawn. I found another script called
votio.php on the net. It does something similar but requires PHP (why?) to
create a XMLhttp stream. I'm not sure why it's server side. Maybe the
server has to create the stream object then pass it's handle on to the
client on the fly.


It outputs JavaScript to the client that sets up the xmlHTTP stuff. It
looks like a plug-in specifically for WordPress, though.

--

Hywel
http://kibo.org.uk/
Mar 10 '06 #2

P: n/a
"Hywel Jenkins" <hy***********@gmail.com> wrote in message
news:MP************************@news.eclipse.net.u k...
In article <NJ*******************@tornado.socal.rr.com>,
br***@nospam.com says...
Hi -

Does anyone know how Netflix manages its star rating system? The
javascript
is either computer generated or obfusicated. It's more trouble to
reverse
engineer than it's worth. I'm not very interested in their particular
solution for rating movies - I'm not in the business - but I'd like to
know
the data transfer mechanism behind it.


Dunno. Ajax?

It looks like they found a solid way of moving data between client and
server without getting the page redrawn. I found another script called
votio.php on the net. It does something similar but requires PHP (why?)
to
create a XMLhttp stream. I'm not sure why it's server side. Maybe the
server has to create the stream object then pass it's handle on to the
client on the fly.


It outputs JavaScript to the client that sets up the xmlHTTP stuff. It
looks like a plug-in specifically for WordPress, though.


Thanks for the reply. It led me to ajax w/ docs for my platform.

Mar 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.