The Location Field is the New Command Line: Difference between revisions
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)
Resources
- ideas to link command line options to cgi?
- http://pagekite.net/
- Python Crash Course
- http://www.guardian.co.uk/info/developer-blog/2011/oct/07/programming-developer-journalist -- nice link jonas!
- Every Icon
Python Basics
- Loops & Variables (See Prototyping/Soldier Soldier Will You Marry Me)
- Working with Lists, Dictionaries (See JSON )
- Text manipulation & Regular Expressions
- Working with files
- Functions, Calling & defining
- Reading and Posting data from/to a URL
- Posting a file to a URL
- Reading a feed