Category Archives: OCL

OCL by example

This article was moved to MDriven Wiki – OCL by example Three videos to de-mystify OCL. A simple model and some expressions working on it for different purposes. The videos make use of the new OCL editor that has been … Continue reading

Posted in CO-Unique, OCL, UML, UMLSchool | Tagged , , , | Leave a comment

New OCL Editor

The OCL editor has been given an overhaul. Changes described with images:       Even the ViewModelEditor has been given an ExpressionAnalyze button that checks the sum of all expressions used in a viewmodel: Remember that it is easy … Continue reading

Posted in OCL | Tagged | 3 Comments

PSExpression , or how to do things in the DB from MDriven

This article was moved to MDriven Wiki – PSExpression , or how to do things in the DB from MDriven One usual backend for MDriven systems is the relational database. We use OCL (object constraints language) and databases use SQL. … Continue reading

Posted in OCL, Tuples, ViewModel | Tagged , , , , , , | 2 Comments

Derivation is not available in the database

This article was moved to MDriven Wiki – Derivation is not available in the database Derivation is a very good way to remove the need for repeating definitions. Suppose you have this model: An apartment has Occupants that may have … Continue reading

Posted in CO-Unique, Declarative, OCL | 1 Comment

New operation added in ocl, ClassFromString

This article was moved to MDriven Wiki – ClassFromString When going meta it is sometimes interesting to treat your system types as strings – and then be able to treat those strings as types again. If you have a type … Continue reading

Posted in OCL | Tagged , , | Leave a comment

Constraints

This article was moved to MDriven Wiki – Constraints There are other ways to introduce business rules in the model than using state machines and guards. You can also use constraints. The model already has a lot of implicit constraints … Continue reading

Posted in MDrivenDesigner, OCL, UML, UMLSchool | 1 Comment

UML – State machines

This article was moved to MDriven Wiki – Short introduction to UML– class diagram If the classes of your model define the statics we are now left with dealing with the dynamics of the domain. With the dynamics I mean … Continue reading

Posted in MDrivenServer, OCL, UML, UMLSchool | 1 Comment

A few words on linq

This article was moved to MDriven Wiki –

Posted in Linq, OCL | Leave a comment

Microsoft office and OpenDocument as a Report generator

This article was moved to MDriven Wiki – Microsoft office and OpenDocument as a Report generator As we think that it would be great if we could generate word and excel documents straight from model driven data – we made … Continue reading

Posted in OCL, Reports, ViewModel | 6 Comments