Triplets are a way of organizing data so it is well-structured and easily accessible.

Y: Triplets overview

The world around us is regularly formatted into easily understandable triplets. We have Countries, States, and Cities. We have Products, Brands, and Models. In Drupal, we have Entity types, Bundles, and Entities.

It seems that a broad category subdivided into sets of data with each dataset identified uniquely is a scheme that humans understand readily.

In Y, we organize data and retrieve it using triplets:

  • Protocol: a broad type of regularly formatted data
  • API: a type of data maintained in each dataset
  • ID: a unique identifier for each dataset

In Y, triplets can be optionally targeted by indicating the owning modules.

4 / 2019