ModelMeta

As your model grows, you will find that it is a good tool to actually understand the business it supports. As many people in the organisation would benefit from this understanding, it is great to publish a read-only version of the model for everyone to see.

Start by exporting a mif (Model Information File) file:

2018-08-23 15h17 30.png

This format takes the ViewModels, The Actions, The Classes, and their content, and The StateMachines and saves them in a new type of ModelMeta model. It also analyzes each expression and makes notes on what each expression makes use of. This way the ModelMeta is a good cross-reference on what is used where.

The mif file can then be uploaded to a ModelMetaViewer. I created a ModelMetaViewer in WPF but soon found that the real benefits come when you can consume the meta info from the web instead of from a separate application. I then created the ModelMetaViewer as an MnVC web application.

Find the Web-install-package here: https://www.mdriven.net/publicDownloads/ModelMetaViewerMVC4.zip

Once you have it installed, go to the admin tab and upload your mif file. Then, index the uploaded file:

2018-08-23 15h28 13.png

Now you can search (we use a Lucene.Net.dll to index names + code comments).

2018-08-23 15h31 28.png

Following a link to a ViewModel, you get view + information usage:

x

The images have image maps and the user can follow to a single attribute or association end and see where else this is used and how to get there. As you can imagine, this detailed self-organized meta information can reduce the support you need to provide for people that try to navigate the system without the benefit of the model.

Model Meta Viewer (Web Version)

Go to https://metamdriven.azurewebsites.net/ and create an account or login with existing MDriven account.

  1. Select Admin then Model Imports For User.
  2. Then go to Add New Model Import.
  3. Import the.mif model file.
  4. Rename the new save.
  5. Request Server Side Re Index.
  6. Save the model import
  7. Go to Search
  8. Go to Model to select New Model Import.
  9. Click "SEARCH" to return all available contents of the model including Classes, ViewModels, Associations.


Steps 1 and 2 for Web Model Meta Viewer
Steps 4 to 6 for Web Model Meta Viewer
Steps 7 to 9 for Web Model Meta Viewer
This page was edited 120 days ago on 07/16/2024. What links here