Home > Archive >  2008 >  April >  11


From Hello World to Guestbook

Friday, April 11, 2008 by Dave Winer.

A picture named appengine_lowres.jpgThe prototype app for any development environment is Hello World, a program that starts up, displays the text Hello World and then exits. That's the first thing they show you how to do in any development environment, and it's often the hardest step because to get it running you have to get over all the things that make your computer different from the one the tutorial was written on.  Permalink to this paragraph

Yesterday I got the Hello World app for Google's appengine running on my system. The hurdles were: 1. My text editor attaches an invisible ".txt" extension to the filenames of all files it creates and 2. Unix files have the newline character as the line delimiter not carriage return. Once these were fixed, the Hello World app ran. Permalink to this paragraph

Then it was a short sprint through all the features in the Google tutorial that led to a Guestbook app, which is now deployed and running on Google's "appspot" server. Permalink to this paragraph

http://dwtestbed.appspot.com/  Permalink to this paragraph

You can try it out. Scroll to the bottom and enter some text. Then log in, and do it again.  Permalink to this paragraph

They provide a very nice dashboard for me to monitor the Guestbook app. Here's a screen shot. It shows you how much of the resources allocated to my app are being used: CPU, network bandwidth, server storage, number of emails sent.  Permalink to this paragraph

I wanted to give it a scripting.com domain, but the process for doing so is way too complex and (not sure) I think it might cost money. Amazon has this down to its bare simplicity, just point a domain at their server, and name the top-level bucket the same as the domain and it just figures it out.  Permalink to this paragraph

Anyway, on the whole the process with Google's AppEngine was mostly painless and quite rewarding. Next steps will reveal how flexible it is, how easily I can turn my simple guestbook into something more useful. Permalink to this paragraph

BTW, I recall that Python has excellent XML-RPC support. I wonder if that's enabled in Google's environment? Permalink to this paragraph




     

Recent stories:


A picture named dave.jpgDave Winer, 53, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Dave Winer Mailto icon


My most recent trivia on Twitter.

I'm a California voter for Obama.



© Copyright 1994-2008 Dave Winer Mailto icon.

Last update: 10/20/2008; 8:22:33 AM Pacific. "It's even worse than it appears."

Click here to view blogs commenting on  RSS 2.0 feed.