PGI - wtsi-hgi/hgi-web GitHub Wiki

On RESTfulness

  1. Hypermedia
  2. Modelling the Graph
  3. hypr: A Hypermedia Type
  4. Procedural-Graph Interface

Procedural-Graph Interface

ORM (Object-Relational Mapping) tools attempt to resolve the impedance mismatch between the object orientated programming model and the relational database model by providing an abstraction layer between the two. While it could be seen as a crux, many developers prefer using such tools rather than keeping both paradigms in operation simultaneously.

APIs are traditionally thought of as a procedure call model and, when web-based APIs evolved off the back of REST, they were used similarly. However, REST is not meant for RPC: it is a graph information system; a database. Therefore, is there scope -- or does it even make sense -- to develop a Procedural-Graph Interface (PGI, pronounced "piggy") tool that maps an RPC interface over a graph information system?

TODO

⚠️ **GitHub.com Fallback** ⚠️