A cool use of Browser Client XML access on NetFlix
I use NetFlix to get movies. NetFlix has made quite the transformation from a marginal service to a highly usable Web site.
The latest feature that I really like is the ability to look at lists of movies and while you’re hovering over a title get more information about the movie without clicking into the detail. Here’s what it looks like in the browser:

This is not terribly novel – the code behind this uses XmlHttp to retrieve some XML and display the pull out data – but it’s an excellent use of the technology. It really makes movie browsing much more efficient and quicker.
Here’s what the XML they pull what they pull over the wire (retrieved with Fiddler):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MOVIES>
<MOVIE ID="60022626" POS="0" DS="0">
<TITLE>Robert Thurman on Buddhism</TITLE>
<SYNOPSIS>Robert Thurman is professor of Indo-Tibetan studies in the Department of Religion at
<DETAILS RATED="NR" RELYEAR="2002" GENREID="379" GENRENAME="Special Interest" CMURATE="0.0" CMPRED="3.0" CMWGTR="3.0" />
<GLYPH REC="false" FRND="false"/>
<STARRING>
<PERSON ID="20031195" NAME="Robert Thurman"/>
</STARRING>
</MOVIE>
</MOVIES>
That part is pretty logical and easily hooked up.
What I’d like to know is how they are doing the cool popup effect with the shadows. I haven’t looked closely at the HTML to see how this overlay affect is accomplished. Notice that the shadow is transparent and it works both in IE and FireFox and it's smart enough to keep the display visible in various parts of the page without getting cut off.
Part of the appeal of the above mechanism is that it’s really pleasing to the eye (at least to me). It just feels right and is intuitive. And it's considerably faster than clicking on the link to get the movie detail the go back to the list etc. It's all about browsing and keeping your current context, something at which Web applications (including the NetFlix site's plain HTML interface) are bad at. For example, if you browse for movies and select or even view one you immediately loose the list you were just on. Making a selection drives you back to the base selection or a new list of choices based on teh current one. For browsing staying in the current context surely is the better way to go and this is why this appeals to me so much - it's rare that you get that.
Somebody clearly understands user interfaces at NetFlix. If you’ve watched that site go from a so-so usable site to what it is now you can probably appreciate a number of the cool features they’ve implemented to manage your movie queues.
Other Posts you might also like
- Adding minimal OWIN Identity Authentication to an Existing ASP.NET MVC Application
- Resolving Paths To Server Relative Paths in .NET Code
- Map Physical Paths with an HttpContext.MapPath() Extension Method in ASP.NET
- Back to Basics: Rewriting a URL in ASP.NET Core
- Getting the Client IP Address in ASP.NET Core
The Voices of Reason
# re: A cool use of Browser Client XML access on NetFlix
- Mike K
# re: A cool use of Browser Client XML access on NetFlix
# re: A cool use of Browser Client XML access on NetFlix
http://www.google.com/webhp?complete=1&hl=en
Google Maps also uses XMLHTTP very effectively.
In the web design comunity, this has been dubbed AJAX. This article is a good read:
http://www.adaptivepath.com/publications/essays/archives/000385.php
# re: A cool use of Browser Client XML access on NetFlix
http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html
# re: A cool use of Browser Client XML access on NetFlix
# re: A cool use of Browser Client XML access on Netflix
Also, Netflix is a word with one capital letter.
# re: A cool use of Browser Client XML access on NetFlix
Hence the name of a better name. I don't intend to show up at some client's office with my rubber gloves on and a scrubby sponge. I just can't talk about it in professional conversations with a straight face. Give it an acryonym that isn't tied to a brand name of something everyone has under their sink. SOAP is at least generic. I'd even settle for calling it BLEACH. Just not Ajax (note that its not even written as a real acronym).
If someone listed Ajax on their resume right now, I would be inclined to think that they know buzzwords, but that's about it.
# re: A cool use of Browser Client XML access on NetFlix
It should read "Hence the need for a better name." (based on that blog entry).
# re: A cool use of Browser Client XML access on NetFlix
# re: A cool use of Browser Client XML access on NetFlix
If you're more into ancient Greek history (i.e. Homer's Ilias) I can understand your disapprovement considering Ajax the Great's end. :)
# re: A cool use of Browser Client XML access on NetFlix
# re: A cool use of Browser Client XML access on NetFlix
# re: A cool use of Browser Client XML access on NetFlix
There is a great website about the whole IE/PNG issue, as well as a simple JS include you can use on your pages to automatically fix up PNG images to work on most browsers.
http://homepage.ntlworld.com/bobosola/index.htm
# re: A cool use of Browser Client XML access on NetFlix
I'm really interested in making this popup. somebody, can help me please.
This is my next task.
Thank you
# re: A cool use of Browser Client XML access on NetFlix
<img style="width:55px; height:101px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='http://cdn.nflximg.com/us/pages/bob/up-left-combo.png'); " id=bobarrowulimg src="http://cdn.nflximg.com/us/pages/bob/up-left-combo.png">
Using a DirectX Control to handle the display. I would be interested in knowing if the site works for Mac Users.