Jump to: navigation, search

Difference between revisions of "Compiler"


(Created page with "==Overview== The {{UBIK}} compiler assembles and compiles customizing code into invokable .NET assemblies. It also creates the necessary tables, views and stored procedures in...")
 
Line 6: Line 6:
  
 
===Toolbar===
 
===Toolbar===
 +
 +
{| class="wikitable" | width = "50%"
 +
|-
 +
! Item !! Purpose
 +
|- align="left"
 +
| Compile database structure || -
 +
|- align="left"
 +
| Check syntax || -
 +
|- align="left"
 +
| Compile and test local || - 
 +
|- align="left"
 +
| Version major || -   
 +
|- align="left"
 +
| Version minor || - 
 +
|- align="left"
 +
| Version revision || -
 +
|- align="left"
 +
| Version comment|| -
 +
|}
  
 
===Preview area===
 
===Preview area===
Line 13: Line 32:
 
! Tab !! Purpose  
 
! Tab !! Purpose  
 
|- align="left"
 
|- align="left"
| Obect Code || This holds the entire object code, consisting of  
+
| Object Code || This area holds the entire object code, consisting of  
 
* MetaClasses  
 
* MetaClasses  
 
* MetaProperties  
 
* MetaProperties  
Line 19: Line 38:
 
* Code library for all MetaClasses
 
* Code library for all MetaClasses
 
|- align="left"
 
|- align="left"
| UI Code || This holds the code for the visual representation of MetaClasses and their MetaProperties
+
| 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.

Revision as of 09:31, 13 May 2013

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.