ormsource.com

  • Increase font size
  • Default font size
  • Decrease font size
Welcome to the ORMSource

Welcome to the ORMSource

E-mail Print PDF
The ORMSource is your ORM (Object Role Modeling) community portal.
Object Role Modeling (ORM) is a form of conceptual modeling with strong roots in formal logic and associated semantics. With a firm foundation of First Order Logic, ORM is indelibly associated with the Relational Model and Relation Databae Design. Variants of ORM (e.g. NIAM, Form and CogNIAM) may (in that light) be better called 'Relational Modeling Languages', if it keeps our friends in the Object Oriented Community happy!!
ORM is recognised as a very stringent, yet semantically rich, conceptual modeling language, aiding the documentation and design of business rules and information systems. ORM is finding application in many areas of applied ontology, including the field of biomedical informatics.
Last Updated on Saturday, 08 November 2008 10:43
 

ORM, Automatic Code Generation and the Curry Howard Correspondence

E-mail Print PDF

Most of my thesis work is on the isomorphic mapping of ORM to non-standard models under the Lowenheim Skolem theorem and on the premise that ORM has an infinite model.

One of the things that stands out with modern ORM research is that software ORM based ORM tools (such as NORMA) can generate source code based on an ORM model. This leads to the question, 'To what level of code generation can ORM based software tools generate code?'.

ORM and First Order Logic

The standard interpretation of ORM is as a First Order Logic by way of the isomorphic projection of ORM to a symbolic First Order Logic ('KL') in Terry Halpin's doctoral thesis.

Without going into the details, under this interpretation a software based ORM modeling tool may generate 'Create, Read, Update, Delete' (CRUD) type code mapped to a database (as in Object Relational Mapping) and generate code to enforce the various ORM constraints on the data.

That in itself is quite an accomplishment and may save a considerable amount of time (that would otherwise be spent coding).

I believe that is the level of code generation that can be achieved by an ORM based code generation tool.

Complications with ORM based code generation

The Currey Howard Correspondence poses some interesting limits on code generation using ORM.

The Currey Howard Correspondence intimates that for every piece of software there is a proof in mathematical proofs. When those proofs are first order logic, there is little problem and we would find that the programs/proofs represent CRUD type operations on data and constraint validation/enforcement.

It is when we consider that ORM has an infinite model and mappings to Higher Order Logic that we will find complications in generating code out of an ORM model. i.e. If an ORM model represents a Higher Order Logical model (in its interpretation), then the effective 'proof' to generate the software will be as relatively complex as the higher order logical model represented by the ORM model.

Proofs in ORM

An interesting consequence of being able to generate code from ORM, in that by virtue of that fact (and ORM tools can already generate code), is that that code represents a proof (by the Curry Howard Correspondence). This supports the theory that you may do proofs in ORM, all be they graphical proofs.

I hope this is  useful information to the ORM community.

 

 

 

ORM, ER a marketing perspective

E-mail Print PDF

I have often been critical of Terry Halpin's attack on the ER modeling language/methodology from a few ideological, philosophical, and business standpoints. While ORM/Niam approaches it's 20th year (under various incarnations, ORM 2 being the latest), the marketing message underlying 20 years of writing by Halpin is that ORM is superior and ER modeling is inferior. I have been critical of this approach from the min 1990's. In this article I will explain my position.

Dr Halpin doesn't have qualifications in Marketing, and marketing is a science as much as any. In the science of marketing and sales, and as many text-books attest (viz 'Corporate Combat', W. E. Peacock, 1986, Berkley), head-to-head frontal assaults on the opposition invariably end in tragedy. The tragedy for ORM, of course, is that

Last Updated on Thursday, 13 August 2009 22:45 Read more...
 

What I love about ORM 2

E-mail Print PDF

I read once in a book about 'Kaizen' (The Japanese business strategy of continuous improvement) that some Japanese companies do business plans that project strategy 50 to 100 years into the future. That's almost inconceivable in Western terms.

And yet, here we have some of the most thoughtful, long range planning that I (personally) have ever witnessed in the IT community...ORM 2.

Not only are we seeing incredible long term thinking in ORM 2, we're seeing a 'market based product' strategy. i.e. the ORM community listening to what customers want, and delivering.

Last Updated on Saturday, 08 November 2008 08:22 Read more...
 

Finding Euclid in ORM

E-mail Print PDF

My company does research into ORM. At the moment we’re considering the virtues of an extension to ORM.

Of course, doing so (creating an extension to ORM) is no small feat, because the likelihood of counter-example and inconsistency must be taken into very careful consideration; as does the notion of working with the rest of the community to bring benefit and consensus to the majority.

I find it funny and very interesting that we live in a time where there is still consideration of extensions to ORM. ORM v2 is not a few years old, and ORM itself only decades.

The axioms of ORM, I would have thought, would have all been settled by now, but even at the 2007 OTC conference, further extensions were considered.

Last Updated on Saturday, 08 November 2008 08:19 Read more...
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »


Page 1 of 2

Forums - Latest Posts

Polls

Is there any benefit in the ORM community condemning ER and/or UML?
 

Who's Online

We have 1 guest online

ORM Related Links & Sites

Featured Links:
Viev
IT strategic planning and consulting. Business Modeling, Database Design, Software Development.

Newsflash

The open source 'NORMA' ORM modeling tool has just issued a July 2009 Release. You can download a copy from the downloads section, or visit SourceForge.org.

Brian Christensen of pureviolet.net has released a new ORM modeling tool (Windows and OSX) as part of the GanttPV project management tool. See more at www.pureviolet.net