Difference between revisions of "Org.simantics.databoard"

From Developer Documents
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
Databoard is simple to use, no installation, no code generation. Write your own binding or create one automatically.  
 
Databoard is simple to use, no installation, no code generation. Write your own binding or create one automatically.  
 
<syntaxHighlight lang="java">
 
<syntaxHighlight lang="java">
        Rectangle2D rect = new Rectangle2D.Double();
+
    Rectangle2D rect = new Rectangle2D.Double();
        Binding binding = Bindings.getBinding( rect.getClass() );
+
    Binding binding = Bindings.getBinding( rect.getClass() );
        byte[] data = binding.serializer().serialize(rect);
+
    byte[] data = binding.serializer().serialize(rect);
 
</syntaxHighlight>
 
</syntaxHighlight>
  

Revision as of 12:44, 6 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, type conversion, value conversions, value comparisons, variant types and random access.

Databoard is simple to use, no installation, no code generation. Write your own binding or create one automatically. <syntaxHighlight lang="java">

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

</syntaxHighlight>

Documents

Download

Release 0.5.2

Contact