Practical JavaScript - Google API - WebReference Update - 020415 | WebReference

Practical JavaScript - Google API - WebReference Update - 020415

((((((((((((((((( WEBREFERENCE UPDATE NEWSLETTER ))))))))))))))))) April 15, 2002

___________________________ Sponsors ________________________________ This newsletter sponsored by: 802.11 Planet Spring 2002 _____________________________________________________________________

This week we follow up our review of "Constructing Usable Web Menus" with an excerpt from another Glasshaus imprint, "Practical JavaScript for the Usable Web." Watch for more Glasshaus books in the near future, including one from Eric Costello on style sheets. The Doc starts a new series on scripting .NET, first up, the mechanics. The prolific one, Kenneth Tibbetts returns to get you caught up on current events in the world of scripting.

The big news last week was Google opening up their multi-billion webpage database to developers. Using their new Web API Service developers can run queries on their giant database from applications. Our own Michael Classen is working on a way to do just that. Don't be surprised if he releases it in the very near future. How's that for a tease? *- link to us today *- newsletter home *- submit article

New this week on and the Web:

1. BOOK EXCERPT: Practical JavaScript for the Usable Web 2. JAVASCRIPT: JScript .NET, Part I: The Mechanics 3. FEATURE: Current Events: A Client Side Tipsheet 4. OTHER VOICES: * Website Usability for Children * Usability Testing in Practice * Fixing Your Site With the Right DOCTYPE * Old domain refrains 5. NET NEWS: * Google tests search tools for developers * Google2RSS * A Top-Secret, One-of-a-Kind Mac

Like what you see? Get our front page e-mailed to you every business day with our HTML newsletter. Just send an e-mail to:

or for this text newsletter:

Spread the word! Feel free to send a copy of this newsletter to your friends and colleagues, and while you're at it, snap a link to

/-------------------------------------------------------------------\ Coming to the East Coast! 802.11 Planet Spring 2002 Conf. & Expo Sponsored by IBM --The Only Trade Show & Expo Focused on 802.11 Business-- June 10-12 Pennsylvania Convention Center, Philadelphia, PA. Whether you're an expert in 802.11 or need to quickly get up to speed and profit from it, 802.11 Planet is the premier event for this exploding industry. Register today & save!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. BOOK EXCERPT: Practical JavaScript for the Usable Web

While validating input data on the server is essential, using JavaScript to validate data on the client as well is both simple to do and user-friendly. In this excerpt we examine a client-side function that tests the validity of a credit card number. From Glasshaus.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2. DOC JAVASCRIPT: JScript .NET, Part I: The Mechanics

While consuming a Web service is most commonly done by the client, dishing them out is a job for the server. Take a walk on the server-side, and learn the basics of Microsoft's latest ECMAScript based language: JScript .NET. By Yehuda Shiran and Tomer Shiran.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3. FEATURE: Current Events: A Client Side Tipsheet

Events are common on Web pages, and, as a developer, sooner or later you will want to write specific handlers for them. Returning author Kenneth Tibbetts serves up some event handling code and discussion to whet your appetite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4. OTHER VOICES: Website Usability for Children, Usability Testing in Practice, Fixing Your Site With the Right DOCTYPE, Old domain refrains

* Website Usability for Children

Nielsen's study of kids found that they are as easily stumped by confusing websites as adults. Kids tend to view ads as content, and like colorful designs, but demand simple text and navigation., April 14, 2002

* Usability Testing in Practice

If you're interested in Web site usability then it's likely that you've come across the concept of professional usability testing. It's also likely that the practicalities of testing have remained a mystery, because very little has been published about it on the Web - until now., April, 15, 2002

* Fixing Your Site With the Right DOCTYPE

Jeffrey Zeldman shows us the right way to use DOCTYPEs, and that the W3C's relative versions can be problematic. A List Apart, April 12, 2002

* Old domain refrains

Infoworld ponders Versign's indifference to domain transfers and hijacking., April 2002

/-------------------------------------------------------------------\ ** When Face-to-Face is the Only Way ** The Internet is great for exchanging information and ideas, but nothing beats in-person learning and networking. Check out's upcoming Spring 2002 conferences and expositions including: ** ClickZ E-Mail Strategies ** Nanotech Planet ** 802.11 Planet (Wireless) ** Grid Computing Planet and more. Visit today!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5. NET NEWS: Google tests search tools for Developers, Google2RSS, A Top-Secret, One-of-a-Kind Mac

* Google tests search tools for Developers

Google's new "Web API service," released last week, lets developers query more than 2 billion Web documents directly from their own computer programs via SOAP, an XML-based mechanism for exchanging information. To access Google's massive repository, developers can download a free software kit that includes sample Java and .NET examples, plus a WSDL file for any program that supports Web services. The mind boggles at the possibilities.

Rael Dornfest has a good story on the announcement, and Aaron Swartz has a blog devoted to Google with plenty of links. Aaron also reports that it is possible to access Google's API via Systinet's WASP JavaScript SOAP Client, although no-one has done it yet. Anyone out there want to be the first? Let me know. As you'd expect from a SOAP pioneer, Dave Winer has a list of GoogleAPI implementations. Our own Michael Classen plans on releasing a how-to tomorrow. - WASP JavaScript SOAP Client - Google's Web API Service - Rael Dornfest - Google Blog by Aaron Swartz,,10_1008701,00.html, April 12, 2002

* Google2RSS

Peter Drayton has created Google2RSS, a command-line tool that runs a query using the Google Web API and spits out an RSS 0.91 feed containing the top 10 hits. Written for .NET in C#. Now, how about a Perl version? Hat tip: Peter Drayton, April 15, 2002

* A Top-Secret, One-of-a-Kind Mac

"In a drafty shed in rural northern California is perhaps the rarest Macintosh ever made: an electronically shielded Mac used by a spy or military agency. The machine appears to be unique, and is so secret, no one knows anything about it.",2125,51670,00.html, April 11, 2002

That's it for this Monday, see you next time.

Andrew King Newsletter Editor, aking at internet dot com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ARE YOU BABYSITTING YOUR EMAIL LIST SERVER SOFTWARE? Upgrade to Lyris ListManager From The Experts at SparkLIST, Save Money, and Remove Headaches With Our Free Installation Assistance Offer:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Advertising: If you are interested in advertising in our newsletters, call Claudia at 1-203-662-2863 or send email to ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For contact information on sales offices worldwide visit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For details on becoming a Commerce Partner, contact David Arganbright on 1-203-662-2858 or ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To learn about other free newsletters offered by or to change your subscription visit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'s network of more than 160 Web sites is organized into 16 channels: Internet Technology E-Commerce/Marketing Web Developer Windows Internet Technology Linux/Open Source Internet Resources ISP Resources Internet Lists Download International Internet News Internet Investing ASP Resources Wireless Internet Career Resources EarthWeb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To find an answer - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Looking for a job? Filling an opening? - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This newsletter is published by Jupitermedia Corp - The Internet & IT Network Copyright (c) 2002 Jupitermedia Corp. All rights reserved. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For information on reprinting or linking to content: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~