Take aways from today:
- We will shift the focus from working on exercises derived immediately from the book to ones that will help students complete their projects
- We will look for ways to create a “learning exchange” by identifying topics and techniques for which there is interest in learning and for which we have some expertise. An example: Drupal might be a useful content management framework for which there is both expertise and interest in this class.
Focus on Chapter 8 (and then Chapter 10)
- mapping geotagged Flickr photos with Google Maps, Google Earth, and Google Mapplet.
To become a master programmer of the web browser, you should understand the following
- Extension mechanisms in browsers (such as Firefox add-ons)
- What you can do in terms of mashups
Fortunately, you do not need to know all these things to merely get started.
- Firebug – Web Development Evolved
- DOM Inspector :: Firefox Add-ons (starting with FF3, you need to install it as an extension)
(With chickenfoot, you can access the window using window.wrappedJSObject
- jQuery UI
- Yahoo! User Interface Library (YUI)
In my book (p. 210), I mention: Dojo, Mochikit, prototype/script.aculo.us, Yahoo! UI Library (YUI), Rico, and OpenLaszlo.
1) using local storage:
curl -v -L -X GET "http://developer.yahoo.com/yui/download/" -o yui_2.7.zip unzip yui_2.7.zip
var wwindow = window.wrappedJSObject; wwindow.tree.expandAll();
2) using the Google Ajax Libraries API
See http://blog.mashupguide.net/category/google-ajax-libraries-api/ for a writeup on AJAX Libraries API – Google Code. The example calls jQuery’s getJSON function.
See how I use the API to load the YUI calendar:
- http://geocoder.us/help/ — API
- to look up White House: http://geocoder.us/demo.cgi?address=1600+Pennsylvania+Ave%2C+Washington%2C+DC.
- via RESTful API http://rpc.geocoder.us/service/rest?address=1600+Pennsylvania+Ave%2C+Washington%2C+DC.
- http://examples.mashupguide.net/ch08/flickr.json.1.html (examine rsp)
Leave a Reply
You must be logged in to post a comment.