Jump to: navigation, search

Compiler


Revision as of 09:31, 13 May 2013 by JKN (Talk | contribs)

Overview

The UBIK® compiler assembles and compiles customizing code into invokable .NET assemblies. It also creates the necessary tables, views and stored procedures in the database. In short: compiling a UBIK® data model is a necessary step to bring custom classes and their behavior to life.

User interface

The UBIK® compiler can be accessed via UBIK® Studio's Build menu. Once launched, it will immediately start to fetch all available customizing code from the data model and assemble it into C# code. Depending on the size of the data model, this might takes a while. When finished, the assembled code is presented in the preview area.

Toolbar

Item Purpose
Compile database structure -
Check syntax -
Compile and test local -
Version major -
Version minor -
Version revision -
Version comment -

Preview area

Tab Purpose
Object Code This area holds the entire object code, consisting of
  • MetaClasses
  • MetaProperties
  • Specific code for MetaClasses
  • Code library for all MetaClasses
UI Code This area holds the code for the visual representation of MetaClasses and their MetaProperties

The code in the preview area can be modified. However, it is not recommended to do that since changes that are made here will not be saved back to the original objects. That means that the change will only be effective for the next compilation run, once the code is reassembled it will be lost.