In designing a website there are a limited set of things to be done

Pages/Views

  • Index displays a list of items of a particular type
  • Show displays the details of a specific item
  • New displays a form for creating a new item
  • Edit displays a form for editing an item

State

  • Create saves an item (PUT)
  • Update updates an item (PUT)
  • Add to a resource (POST)
  • Destroy removes an item from the database (DELETE)

Objects/Resources

  • What properties do they have?
  • What representations can they deliver?
  • What methods do they need?