DataBasic Objects
DataBasic objects enable DataBasic programmers to access features written in object oriented languages.
DataBasic supports external Java and .NET language objects, and internal JavaScript-like objects. The DataBasic data type called DataBasic Object (DBO) enables such objects to be introduced into DataBasic.
Language objects
The DataBasic Object feature enables access to third-party code written in object orientated languages such as Java and .NET. These implementations require a language server written in the target language to communicate between the DBO layer in DataBasic and the language's methods and objects.
Two language servers are currently available:
-
Java Language Server (JLS)
-
.NET Language Server (DNLS)
The DNLS is provided in 32-bit and 64-bit versions for accessing 32-bit and 64-bit .NET assemblies respectively.
Language objects are also referred to as external objects, to distinguish them from internal objects.
Internal objects
Internal objects use a similar syntax to language objects to provide access to objects stored within the Reality executable. These objects are very similar to JavaScript objects in that they have a strict structure but do not contain methods. Internal objects can be easily converted to and from JSON (JavaScript Object Notation) format, to enable industry-standard data interchange.