BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Presentation: An Introduction to M

| by Abel Avram on Oct 30, 2008. Estimated reading time: 1 minute |

 

During PDC 2008, David Langworthy, Architect at Microsoft, and Don Box, Distinguished Engineer at Microsoft, held a presentation about Oslo, focusing especially on the modeling language M, explaining what is and what is not, and also demonstrating using M to create a data model.

According to Don, Oslo is constituted by the following components:

  • M Language - a modeling language
  • Quadrant - a modeling tool
  • Repository - a model storage

Don explains they chose a modeling language because they wanted to offer a design tool which allows working with models textually. M allows one to create a model by typing like creating a program in other languages.

According to Don, M is:

  • “M” is a language for defining domain models and textual domain-specific languages (DSLs)
  • M domain models define schema and query over structured data
       Values, Constraints, and Views
       Natural projection to SQL
  • M DSLs define projections from Unicode text to structured data
       Rule-based transformation
      Grammar-driven text editor integration

"M is about capturing, schematizing and transforming data", says Don. M offers only a representation of data, has no data related behavior, so there is no polymorphism. Typing is done by structural typing, the way represented data is structured.

M is not an OOP language. M is not a data access technology. While all the data can be transported to/from a database, M is not an OLTP solution, and it is not a T-SQL replacement.

In a live demonstration, David creates a data model, stores the data to a database and retrieves it later from there. He shows some features of the language like constraints, identity, value types, functions, and others.

The Oslo SDK can be downloaded from MSDN.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT