Web Dev

Ref:

Restful

Modern web devlopment concept

Tool

Standards

  • JSend: json api standard (not recommended)
  • JSONPath: Expressions to refer to specific json structure
  • XPath: expressions to select nodes or node-sets in an XML document
  • GraphQL: query language for API, get many request in single request

API Modeling

Protocol/Communciation:

Richardson Maturity Model

  • Level 0: regardless http method/path. The operation defined in request message.
  • Level 1: Operation defined in path and single http method (usually POST)
  • Level 2: Operation defined in path and http method (This is RESTFUL)
  • Level 3: HATEOAS