Exercise 9.1

Compare and contrast:

  1. The relational model of data
  2. The object-oriented model of objects.

In particular, is the relational model object-oriented? Is the object-oriented model relational?

Exercise 9.2

Compare and contrast these cloud service models:

  • IaaS
  • PaaS
  • SaaS

Categorize the following appropriately for your team project:

  • Web services running on Azure
  • PostgreSQL running on Azure
  • The “Compute + storage” specs for your Azure DBMS
  • WSL2 running on your client machine
  • Email, as used by your users to communicate

Exercise 9.3

Answer the following questions related to REST interfaces.

  1. What are the basic principles of REST interfaces?
  2. Map CRUD onto HTTP commands.
  3. Compare and contrast this with SOAP-based or GraphQL-based approaches.

Sample HTTP commands for the Monopoly REST service.

curl --request GET \
    https://cs262-webservice.azurewebsites.net/players

curl --request POST \
    --header "Content-Type: application/json" \
    --data '{"name":"test name...", "email":"test email..."}' \

curl --request PUT \
    --header "Content-Type: application/json" \
    --data '{"name":"new test name...", "email":"new test email..."}' \
    https://cs262-webservice.azurewebsites.net/players/4

curl --request DELETE \
    https://cs262-webservice.azurewebsites.net/players/4