Homework Development for AJAX

I am responsible for developing homework to teach a class of ~ 100 AJAX students. They know CSS / xHTML well, but most of them are new to Javascript. I do not want the task to require the use of jQuery or any other structure.

I want them to create something with AJAX. The server side will be processed either by course staff or through an external service. (Like Twitter, Google or Facebook ... what else?)

One of my ideas was to ask students about an application with the following functionality:

  • list of tweets by username, including date and "in response to" info
  • find profile picture by user
  • the ability to click the "in response to" icon to view information from this user.
  • list of subscribers and friends by username

The point of this assignment does not have to create something new or useful, but in order to teach students a strong understanding of AJAX so that they can create their own applications in the future.

+4
source share
3 answers

I would suggest a public API such as the bing search API, as it returns XML results.

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

to see the XML document for the chocolate request. You will need to register at http://www.bing.com/developer to get the APPID, but you can share it with your students.

+3
source

If you're not using the framework, you'll have to talk about switching to half a dozen catch attempts to create the actual object in multiple browsers (or is this not a problem?). If not, I would go with w3schools one .

+4
source

Another possible web service is GeoNames: Geonames

0
source

Source: https://habr.com/ru/post/1301358/


All Articles