The Location Field is the New Command Line: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 10: Line 10:


Exercise: Turning a simple Python script into a CGI script (dynamic web page)
Exercise: Turning a simple Python script into a CGI script (dynamic web page)
[[File:ClientServer.gif]]


== Resources ==
== Resources ==

Revision as of 14:53, 3 November 2011

Used by technology blogger John Gruber, "The Location Field is the New Command Line", is a programmer's reflection of the movement, and related tensions, of application development away from the single PC to the network.

Topics:

  • argparse to build your own Python scripts with options
  • What is CGI?

Contrast / connect the commandline with:

  • An Inkscape effect ("old school" application)
  • Modern web API, and RSS Feeds

Exercise: Turning a simple Python script into a CGI script (dynamic web page)

ClientServer.gif

Resources

Python Basics

  • Reading and Posting data from/to a URL
  • Posting a file to a URL
  • Reading a feed