S E R V E R   S I D E
View current page
...more recent posts

Back to web services. There is some debate over exactly what is meant by this term. I understand it as the web minus the HTML presentation layer. Or, in other words, web services return data in response to specific requests. Web sites, on the other hand, return web pages (formatted in HTML) in response to specific requests. So web services are a good way for computers (or computer programs, really) to talk to each other. A computer program wants data from external sources to be formatted in a rigorously standard way. That's what web services provide. People, on the other hand, want data formatted in a visually pleasing way. That's what web pages (try to) do.

So web services are just standards for communication. As I mentioned the other day, this is something people who build on line applications can get very excited about. Sure, I could always build a program that would connect to a web site, download a specific page, and then sift through the HTML to extract certain information. The problem is that if the web site changes the visual design of their page, it will probably break your program. The piece of data you want won't be in the same place any more. With web services the web site publishes a specification which details exactly how the information will be presented. This might mean a something very basic, like a comma seperated list (like: date,time,theatre,price) or some sophisticated XML schema. The key is just that the structure is agreed upon and doesn't change. This gives third party developers confidence to write software that uses that service. The confidence is that your program will continue to work in the future.

And this turns out to be a huge deal. It's very web like. It's about cooperation.

The recent flood of thinking and writing on this subject has been largely fueled by Google. They published what they are calling the Google Web API. Maybe you remember hearing this term API during the Microsoft trial. It's what some on the government side kept saying they wanted Microsoft to "open up." API stands for application programming interface. The agreed upon data structures that comprise web services are APIs. Web services are what happen when web sites publish APIs and developers build tools that use them. (Microsoft Window's has a set of APIs too. They detail how programs running on top of Windows can make calls to the system to take care of basic low level operations, and the responses a program should expect to get back from the system. Allegedly Microsoft does not reveal their entire API to outsiders, thus Microsoft's own programs - like Word, or Excel - have a huge advantage.)

The Google API is completely open. It allows other programs to query the google search engine. The API specifies how you should send your request (the actual structure of your request) and how the results will be sent back to you. Google is calling this a test. Anyone can use the API, but you have to sign up with them (for free,) you are limited to 1,000 queries a day, and you can't use it for commercial purposes. They can keep track of how many queries you use a day because part of the API specifies that each request must be sent with a unique ID you receive from google when you register.

This is really cool stuff. People like me get very excited when we suddenly gain lots of power for building things on line. I can now write a program that harnesses the amazing data set and algorithms of google. And I can do this in the background, without actually sending my users to google. By publishing their API google has effectively added all the capabilities of google to whatever programming langauage I am using. It almost seems like too much power. It's intoxicating. Still, I can't think of exactly what to build. There's no sense in just writing a front end for searching - google's web page is already perfectly fast and minimal. But there is undoubtedly more that can be done. And lots of people are having a really good time trying to figure this out.

If it works, the web of the future will be largely about web services. And this means that the web will be more and more about assembling the information you view as a user from a variety of different sources which are all live and machine accessible over the internet. Or, in other words, it's about all of us agreeing on the sturcture of the language we're going to use for our programs to talk and work with one another. And agreeing to work together makes us all more powerful. Lots more on this topic to come...
- jim 5-04-2002 10:48 pm [link] [add a comment]

Technophobia:

Though the album was rejected by one major label as uncommercial, Wilco's "Yankee Hotel Foxtrot" defied record-industry expectations by selling 55,573 copies in its first week and debuting at No. 13 on the Billboard album chart--by far exceeding the band's past sales achievements....

Last summer, Reprise Records let Wilco walk away from its record deal because executives said "Foxtrot," an experimental pop album, lacked an obvious hit single and therefore wouldn't sell. The band began Net-streaming the album on its Web site, allowing listeners to preview songs for free.

Rather than hurting the band's sales, the strategy appears to have only built anticipation for the official release.
Where are the record company investors? Why haven't they kicked Valenti out yet? Isn't that what's supposed to happen?
- jim 5-04-2002 9:30 pm [link] [1 comment]

Here's another new page at datamantic.
- jim 5-04-2002 9:05 pm [link] [add a comment]

A bill has been introduced in Peru which would require the government to use free software.

Microsoft is of course outraged, and has complained. Here is the utterly amazing reply from Dr. Edgar David Villanueva Nunez, Congressman of the Republica of Peru. He says, in part:

To guarantee the free access of citizens to public information, it is indespensable that the encoding of data is not tied to a single provider. The use of standard and open formats gives a guarantee of this free access, if necessary through the creation of compatible free software.

To guarantee the permanence of public data, it is necessary that the usability and maintenance of the software does not depend on the goodwill of the suppliers, or on the monopoly conditions imposed by them. For this reason the State needs systems the development of which can be guaranteed due to the availability of the source code.
Amen. The whole letter is worth a read. (from MeFi)
- jim 5-03-2002 7:41 pm [link] [5 comments]

Today is my 33rd birthday.
- jim 5-03-2002 6:54 pm [link] [1 ref] [23 comments]

David Weinberger is wondering about the odd capitalization of Tom's blog title, IMproPRieTies. I thought it was a phonetic fudge of "I'm pretty." IM PR+T

We'll have to wait for some independent verification on this. I mean on whether or not he's pretty.
- jim 5-02-2002 10:09 pm [link] [add a comment]

"The conversation continues..." is another mailing list I'm on (is it still called a mailing list if it's only one way?) This one is put out by Kevin Werbach and Esther Dyson, publishers of the influential Release 1.0: Esther Dyson's Monthly Report. Not nearly as entertaining as EGR, but it is pretty good coverage of the tech world. I don't learn too much new, but they have a knack for summing up the current thinking in an easy to swallow form. The last one featured a piece titled "The New WWW" where Kevin Werbach argues that Weblogs, Web Services, and WiFi are the new WWW.

"The old grassroots energy is coming back. Web services, Weblogs and WiFi are the new WWW."
I've been trying to get something together about web services. This is an important emerging area. And it does seem true that "the old grassroots energy" is coming back. We'll see.

Compare Kevin's thought to megnut's:
All this talk about APIs and web services warms my heart. We've passed the nadir of the dot-com hype and we're coming back to the Web in interesting and important ways -- opening up sites through APIs and services and working together to build better and more powerful applications. People are getting excited again about the potential of the Web and it's really great to see.

She points to a recent Kottke post where he sees the same thing: "But I admit that Web services makes me feel just a little bit tingly."

What's all the fuss about? More soon.

(You could subscribe to 'The conversation continues..." here.)
- jim 5-02-2002 8:36 pm [link] [add a comment]

If you look at the bottom of this post you can see the first real example of reference logging. Somebody linked to that post, and when their link was followed this system went out to investigate, grabbed the bit of text surrounding the link on their page, and added it below my post (click on [1 ref] to see the reference page.)

Sort of cool I think.

Also the system keeps track of new references I haven't seen yet, so when I loaded up the front page this morning it listed [1 new ref] next to my page link just like it does for new posts and new comments.

You could turn this on for your page in [editpage].
- jim 5-02-2002 6:55 pm [link] [add a comment]

I don't listen to much rap music. But lately I've been playing Eric B. and Rakim's ground breaking 1986 album Paid in Full over and over again. Seems to perfectly match my mood. Big Jimmy gave me some really nice headphones which I have plugged into my iMac so I don't bug my office mates with the constant repetition.

Thinking of this
you keep repeating you miss
the rhymes from the
microphone soloist

So you sit by the radio
hand on the dial soon
as you hear it
pump up the volume

I think "I know you got soul" might be the best rap song of all time.
- jim 5-01-2002 10:13 pm [link] [add a comment]

While I'm still waiting for the danger hiptop, Sony and Ericsson are about to introduce something similarly cool, in a more traditional cell phone form factor. I guess it's officially to be called the Sony P800. People are going crazy over this one.
- jim 5-01-2002 7:20 pm [link] [add a comment]

older posts...