tags:

views:

69

answers:

3

I'm responsible for designing a homework assignment to teach a class of ~100 students about AJAX. They have a solid knowledge of CSS/xHTML, but most are new to Javascript. I don't want the assignment to require use of JQuery or any other framework.

I want them to build something with AJAX. The server side will be handled either by the course staff, or by using some external service. (Like Twitter, Google, or Facebook... what else?)

One idea I had was to ask students for an app with the following functionality:

  • list tweets by username, including date and "in reply to" info
  • find profile image by user
  • ability to click on "in reply to" info to see info by that user
  • list followers and friends by username

The point of this assignment isn't necessarily to build something new or useful, but to equip students with a solid understanding of AJAX so they can build their own apps in the future.

+3  A: 

I'd suggest a public API like the bing search API since it returns results in XML format.

For example, http://api.search.live.net/xml.aspx?Appid=...&query=chocolates&sources=web

to see an XML document for the query term "chocolates." You'll need to register at http://www.bing.com/developer to get an APPID but you can share it with your students.

No Refunds No Returns
+4  A: 

if you dont use a framework, you'll have to talk about going into half a dozen try catches to create the actual object in multiple browsers (or is that not a concern?). If not, I would go with the w3schools one.

F.Aquino
yeah, that's been discussed already. good point though.
Rosarch
+1 for mentioning w3schools.com
TheMachineCharmer
A: 

Another possible web service is GeoNames: Geonames

Mark Schultheiss