Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.27 KB

README.adoc

File metadata and controls

29 lines (22 loc) · 1.27 KB

Objectory: Object Mapping Factory

Objectory is an object mapping factory written in Ruby.

Build Status

Overview

Schema mapping tools are in abundance. However, Objectory uses a different approach to schema mapping or as it refers to it object mapping. It relies on two fundamental concepts, pipelines and selectors which it borrows respectively from Unix and jQuery.

To put it simply, a selector reads or writes a specified piece of data from or to the domain. It either feeds data into a pipeline or captures its output. A pipeline is a chain of operators that transforms an input gradually into an output, without being concerned about where the input comes from or output goes to.

With this approach a mapping is just a set of interconnected selectors and pipelines, so they can be declaratively described. This is another key feature of Objectory, which is the ability to define and store the mapping logic independently and as separate piece of information.

At runtime, Objectory looks like an engine that loads the mapping logic and transforms the given objects and generates new ones as described.