Difference between revisions of "Org.simantics.databoard"

From Developer Documents
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
Databoard is a software library built upon a simple but well formulated and expressive type system. The design is a compromise of expression power, advanced functions, and performance. In contrast to XML's rich and uninhibited type system, databoard's simple and controlled model has enabled more practical features. Besides the norm features ''binary serialization'', ''human readable type and value notation'', ''network communication'', there are also more advanced features such ''class binding'', ''annotations'', ''recursion'', ''type conversion'', ''value conversions'', ''value comparisons'', ''variant types'' and ''random access''.
 
Databoard is a software library built upon a simple but well formulated and expressive type system. The design is a compromise of expression power, advanced functions, and performance. In contrast to XML's rich and uninhibited type system, databoard's simple and controlled model has enabled more practical features. Besides the norm features ''binary serialization'', ''human readable type and value notation'', ''network communication'', there are also more advanced features such ''class binding'', ''annotations'', ''recursion'', ''type conversion'', ''value conversions'', ''value comparisons'', ''variant types'' and ''random access''.
  
Databoard is simple. No code generation. No installation complexity.  
+
Databoard is simple. No code generation. User classes.
 
<syntaxHighlight lang="java">
 
<syntaxHighlight lang="java">
 
     Rectangle2D rect = new Rectangle2D.Double();
 
     Rectangle2D rect = new Rectangle2D.Double();

Revision as of 07:31, 23 November 2010

Databoard is a software library built upon a simple but well formulated and expressive type system. The design is a compromise of expression power, advanced functions, and performance. In contrast to XML's rich and uninhibited type system, databoard's simple and controlled model has enabled more practical features. Besides the norm features binary serialization, human readable type and value notation, network communication, there are also more advanced features such class binding, annotations, recursion, type conversion, value conversions, value comparisons, variant types and random access.

Databoard is simple. No code generation. User classes. <syntaxHighlight lang="java">

   Rectangle2D rect = new Rectangle2D.Double();
   Binding binding = Bindings.getBinding( rect.getClass() );
   Serializer serializer = Binding.getSerializer( binding );
   byte[] data = serializer.serialize(rect);

</syntaxHighlight>

Trunk Development

(Requires Simantics Account)

Download Releases

Release 0.5.2

Contact