18F / Sendak

[DEPRECATED] Sendak integrates user, project, and deployment management for 18F
Other
10 stars 4 forks source link

collect & unify mogrification functions #102

Closed janearc closed 9 years ago

janearc commented 9 years ago

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.

janearc commented 9 years ago

done