English Français Português

Clever data

Traditionally, the data coherence rules are embedded on the data access code:

  • Each application data uses that data replicates that code;
  • The data consumer of an external source is obligated to know the coherence rules of that data.

NP80 proposes a model in which the coherence rules are transmitted along with the data. The rules are interpreted by the data objects, independently of the application that uses them. The data producer is responsible to define those coherence rules.

Example — Bill

Coherence rules:

  • Line total = Price × Quantity
  • Total = Sum(Line total)

When the Quantity is altered, the Line total and the Total are automatically updated.

.: :: © 2006 NP80 All rights reserved :.