Lab 5: Presenting Web Services

Goals:

  • Learning techniques of modern Web Applications
  • Learning JSON for data interchange

Presenter Notes

Schedule of This lab

2:10 — 2:50
Part I: Web Application technologies
2:50 — 3:30
Part II: JSON
3:45 —
Part III: Address Book Development

Presenter Notes

Part I: Web Applications Technologies

Form groups to read on:

  • HTML5
  • CDN
  • AJAX

When you are ready, you will briefly explain the topic to other groups.

Presenter Notes

Part II: JSON

JSON is a lightweight data interchange format.

Values in JSON are as follows:

Object
{ "key1": value1, "key2": value2 }
Array
[ value1, value2 ]
String
"A \"String\" \n with a new line"
Number
1234
Other values:
true, false, and null

Presenter Notes

JSON Example

A contact in an address book:

Exercise: build JSON documents for our Address book service.

Presenter Notes

Part III: Building a web application

We continue on our RESTFul contact manager

Presenter Notes

Using Firebug

assets/firebug.png

Presenter Notes