Sendak uses 'mogrification' somewhat extensively to translate between keys in different data representations. So while amazon uses UserName and github uses userid, Sendak uses user-id. Mogrification takes an object with e.g., amazon keys, and transforms it to github keys or sendak keys, while the values remain the same.
Mogrification is so-called because it is a one-way process. The basis for the name of the operation is transmogrify; trans- implies a two-directional or liminal state; mogrification is only reversible by… mogrification.
Sendak uses 'mogrification' somewhat extensively to translate between keys in different data representations. So while amazon uses
UserName
and github usesuserid
, Sendak usesuser-id
. Mogrification takes an object with e.g., amazon keys, and transforms it to github keys or sendak keys, while the values remain the same.Mogrification is so-called because it is a one-way process. The basis for the name of the operation is transmogrify; trans- implies a two-directional or liminal state; mogrification is only reversible by… mogrification.