New Google Beta Feature... Very Cool

Published 10 December 4 1:37 PM | William
My friend Jason sent me  this link .  As you type, Google makes suggestions for you.
Filed under:

Comments

# William said on December 10, 2004 1:59 PM:

Holy shit .. how does it work !!

# William said on December 10, 2004 2:01 PM:

I don't know. I was thinking there were registry values or something but I don't think that's the case b/c I get the same responses on different machines. It's definitely impressive.

# William said on December 10, 2004 2:32 PM:

Download http://www.google.com/ac.js .. they are using Microsoft.XmlHttpRequest to execute a client callback - the same concept that expedia maps uses to refresh it's pages based on your clicks without refreshing the page. Or asp.net 2.0 uses at a lot of places.

Easy concept - but has the wow factor - the MSDN treeview has been using the same principle for AGES now !!

# William said on December 10, 2004 2:32 PM:

And funny (as a friend pointed out) you type in "sex" and it shows no results found for sex .. that's strange.

# William said on December 10, 2004 2:35 PM:

Nice Catch Sahil - thanks!

# William said on December 10, 2004 3:24 PM:

Dude, that's wicked!

# TrackBack said on December 10, 2004 4:16 PM:

# TrackBack said on December 10, 2004 4:19 PM:

# William said on December 10, 2004 5:14 PM:

XmlHttpRequest is not just a MS thing. Though it is MS inspired. Mozilla, Safari, Firefox and quite a few others have their own built in after MS came out with theirs but not as an activeX control but built into the actual source. I like using it for dropdowns where you have one dropdown that say is a list of tables you want to search and then a second dropdown which populates with field values once you select the table. That way you don't have to post a whole page just to populate one stupid dropdown. Before I discovered XmlHttpRequest came out I used to do a direct connection from an applet and have all my dropdowns in an applet in the form. Then use the netscape.javascript classes so I could write values back to the document that the applet was in.

Bill please tell me you aren't doing full page post backs just to populate dependant dropdown boxes.

# William said on December 10, 2004 5:17 PM:

THanks Andy - an No, I'm not doing postbacks. Sahil found that implementation for the new google beta thingy .

# William said on December 10, 2004 6:15 PM:

Andy, by far the first time I saw Client Callbacks was on the MSDN Library tree (web based version). Remember when it used to be a Visual Java Tree View? (Visual Studio 6.0 times).

So, I'm lead to believe that Microsoft definitely invented that. And posting a full page to populate dropdowns - well what if you are authoring a website for the government where the default browser is Netscape 4.7? (No kidding it really is !!). I think it' inane, stupid ridiculous idiotic monkeyish - but well - it still is - and we need to live with it.

What I can't wait for is XAML - how that'll run thru the web and u'd be able to download more XML based on your logic that can run in partial trust thru a remote browser - what in the world will IE7 look like - if we'll ever need one !! Alongwith Rich Avalon Graphics - HOLY SH*T DUDE !! I really really wanna fast forward the next 4-5 years.

# William said on December 10, 2004 8:12 PM:

Sahil I agree with you, I'm pretty sure it's a MS invention I am just saying it's no longer just a MS thing. MS's is an activeX control the other browsers have it coded into their source. It still does the same thing and it's called the same way. They ought to just add it to the standard since all the major web browsers support it.

Does Netscape 4.7 support applet's? I don't remember because it's been so long, but if they do you can do it the way I used to and just put your dropdowns in an applet and have the applet use Java's generic connections to retrieve the data. It would save you the post backs. Then you just put hidden inputs in the source and use the netscape.javascript classes to write the info in the dropdowns to the hidden inputs on change so your form can use them. I used that long before I knew about XmlHttpRequest. That should work with java runtimes and MS's JVM all the way back to 1.1 because I compile my applets with 1.1 as the target for backwards compatibility with MS's JVM.

# TrackBack said on December 10, 2004 8:45 PM:

# William said on December 10, 2004 10:56 PM:

I believe netscape does use applets. But even then you'd have to code up a brand new codebase for netscape. Seriously for organizations still insisting on netscape, we let the tail wag the dog. For the 1% idiots who refuse to upgrade, the rest of the 99% guys miss out on all the cool stuff technology has to offer.

# William said on December 10, 2004 11:36 PM:

Sahil:

Kim often paruses the various Flash and Dreamweaver groups. You'd be amazed at how many technical writers insist on using Netscape 4.0 (or 5.0 but I think it's 4) and won't upgrade to anything else or design for anything else. It's unreal. And technical writers wonder why programmers usually don't give them a whole lot of respect ;-)

# William said on December 11, 2004 12:15 AM:

Sahil we had the Netscape issue when I first started working at my current workplace. I did this to a whole group that was convinced they would never move from NT4 and Netscape. Six months later they all had Win2K and IE6 or the Firefox beta. All because of one app. It was a rich client app but it did some browser interaction too and I just told them it wouldn't run on NT4 and you couldn't use Netscape which was complete and utter BS but they all upgraded because they wanted it so bad and I don't have to deal with NT4 or Netscape anymore. I will of course deny all knowlege of this should I ever be asked.

It's true that stupid f#cks like that group are the 1% in large corporations that keep the other 99% from surging ahead. Drives me up a f#cking wall when I encounter it.

# William said on January 2, 2005 11:44 PM:

Fuck this shit is awsome You should try it Damn this is good

# William said on January 2, 2005 11:56 PM:

I have tried it and use it quite a bit - hence my post ;-)

# William said on April 23, 2005 1:46 PM:

hi

# William said on April 23, 2005 1:47 PM:

hi

Search

This Blog

Tags

Community

Archives

News

My other sites

Cool Stuff

Book Stuff

Security

ORM

Data Access

Funny Stuff

Compact Framework Stuff

Web Casts

My KnowledgeBase Articles

My MVP Profile

Design Patterns

Performance

Debugging

Remoting

My Fellow Authors

My Books

LINQ

Misc

Speech

Syndication

Email Notifications