Sharp

.less is now supported

08. Mai 2013

BurnSystems Webserver now supports .less:

- Commit: .less Files are now supported

/* Define variable */
@standard-margin: 30px;
 
body
{
     /* Use variable */
     margin: @standard-margin;
}

/* Mixin */
@base: #663333;
@complement1: spin(@base, 180);
@complement2: darken(spin(@base, 180), 5%);
@lighten1: lighten(@base, 15%);
@lighten2: lighten(@base, 30%);
 
/* Implementation */
.one   {color: @base;}
.two   {color: @complement1;}
.three {color: @complement2;}
.four  {color: @lighten1;}
.five  {color: @lighten2;}

to

/* Define variable */
body {
  /* Use variable */
  margin: 30px;
}
/* Mixin */
/* Implementation */

.one {
  color: #663333;
}
.two {
  color: #336666;
}
.three {
  color: #2b5555;
}
.four {
  color: #994d4d;
}
.five {
  color: #bb7777;
}

image

Sharp

Visual Studio nun auch in Blau

06. April 2013

Nach Installation des zweiten Updates für VS 2012 gibt es nun das gute Visual Studio in Blau:

http://blogs.msdn.com/b/somasegar/archive/2013/04/04/visual-studio-2012-update-2-now-available.aspx

Installation dauert mal wieder mit 10 Minuten übermäßig lang.

Das ist zumindest das Einzige, was mir auf Anhieb aufgefallen ist, ansonsten läuft alles so sauber wie bisher… Abgesehen von meiner Motivation.

image

Sharp

Meta Object Facility (MOF) in C#

30. März 2013

BurnSystems.DatenMeister.dll now contains a complete bootstrap of MOF by evaluating the XMI files which describe the PrimitiveTypes, the UML Kernel and the Meta Object Facility data model.

What is DatenMeister?

DatenMeister shall be a general usage data storage which is capable to import, export, analyze and create reports for information.

It is based on the OMG specifications and one aim of the target is full compliance to the corresponding standards.

On first step, I have created a bootstrapper which directly reads in the XMI file and creates the necessary data structures to have a full view on the internal data structures.

How does it look like?

image

The ‘Fail’ for ‘isStream’ is known. It will be handled in next release.

The screen above does not seem to be very useful. That’s true. Perhabs something more exciting:

The following unit test is succesful:

[Test]
public void TestClassOfClass()
{
    var extent = Loader.InitializeMof();

    Assert.IsNotNull(MofClasses.Class);
    Assert.That(
        MofClasses.Class.GetMetaClass(),
        Is.SameAs(MofClasses.Class.GetMetaClass()));
    Assert.That(
        MofClasses.Property.GetMetaClass(),
        Is.SameAs(MofClasses.Class.GetMetaClass()));
}

Mmmh, I believe still not excited. Ok…

Specifications

It is intended to satisfy the following specifications:

  1. Meta Object Facility Core
  2. Unified Modeling Language (At least Infrastructure)
  3. MOF 2 XMI Mapping

Availability

DatenMeister will be published as an OpenSource application, at the moment offered under GPLv3. It is intended to switch the license to a BSD like license, when a certain maturity has been reached.

DatenMeister is published in http://bitbucket.org/mbrenn/burnsystems.datenmeister