What’s new in
Moon Modeler version 8.5

This page was updated on April 17th

Custom Templates & Properties
for Any Scenario

Moon Modeler isn’t limited to the generation of schema validation scripts.
With custom templates, you can create snippets of application code
that seamlessly integrate into your projects.

Whether it is a microservice, a front-end component or a backend module,
your custom templates can create outputs that meet your needs.

Version 8.5
Customizations & Custom Properties

Custom Properties

You have the flexibility to effortlessly incorporate your own properties into Moon Modeler projects. These properties can be showcased directly on the diagram and in UI, allowing you to conveniently modify their values in the right side panel. Furthermore, you can seamlessly integrate them into HTML reports and leverage them to generate your own scripts or other outputs.

Read more about custom properties

Custom properties in Moon Modeler
Customizations in Moon Modeler

Customizations

Custom properties are part of the the Customizations feature of Moon Modeler, allowing you to enhance the functionality of the tool. With customizations, you have the flexibility to select specific UI elements for editing values and more. Easily define custom properties and customizations within Moon Modeler!

Read more about customizations

Rapid Development

By utilizing templates, you have the ability to create personalized outputs. This could include generating back-end code snippets, designing front-end forms, or producing HTML output that showcases a list of objects possibly containing sensitive information, and so on.

Read more

Front-end form generated by Moon Modeler

Version 8
New Features

Moon Modeler and template selection for generating schema validation or modification script for MongoDB

Script and Templates

All template-based output possibilities are available on the Script form. Here you can find several predefined templates, such as the MongoDB schema validation script, schema modification script (collMod) and templates for outputting indexes or simple findOne statements for collections. It also shows the possibility of exporting metadata to a CSV file etc.

Read more about templates

Templates Toolbar

On the Script and Templates tab you will find a toolbar with a diagram selection, a template selection and also the following buttons:

  • Syntax highlighting – especially useful for javascript or json code
  • Open folder with templates
  • Reload templates – if you add a custom template
  • Documentation – link to documentation
Template for generation of simple findOne statement for each collection and field for MongoDB collections.
Moon Modeler and custom template for generating indexes for MongoDB collections.

Collapsible Sections and Easy Copying

In terms of a user-friendly interface, you now have the option to collapse or expand the generated script for individual objects and to copy the script for selected object into the clipboard easily.

Modal Forms & Custom Template Based Scripts

The generated script for the selected object can be viewed also on the object Detail modal form. Navigate to the Script tab where you will find everything you need, including:

  • Generation settings
  • Before and after scripts
  • Custom code
  • Script and Templates with custom template based output.

The combination of all options and possibilities provides exceptional flexibility!

Script tab of MongoDB collection displayed in Moon Modeler.
Moon Modeler side panel with all script generation possibilities.

Side Panel & Template Based Output

In your templates you can write a code that will be generated only for the currently selected object. Thus, it is not necessary to generate the output for the whole project and then search for the file with the generated code. Just select a table, relationship or other object in the diagram and view your own template based script in the sidebar.

Templates Structure

When you open the templates folder, you will see a simple structure. To create a custom template, just create one simple json file describing the template and one hbs file containing the template written in Handlebars. You then only need to write a few lines of code to output a list of findOne statements for your collections. Writing templates is easy and based on a well-known templating system. There is no need to reinvent the wheel!

Moon Modeler and the templates structure
Moon Modeler and handlebars template errors handling.

Comfortable Development

In rare cases, you may make a mistake when creating a template. In this case, the Handlebars templating system will display an error instead of the generated content. This way you can immediately see where to look and there is no need to restart Moon Modeler at all.

Our goal is to make your work comfortable and pleasant even if some modification of the templates is required.

Read more about templates

The latest improvements

Improvements & Fixes

  • Improved rendering of reference names and line captions.
  • Improvements in reverse engineering from MongoDB.
  • Corrections in the templates for schema validation and schema modification scripts.
  • Minor changes in the footer and project properties section.
Diagram of MongoDB structure with reference names.

Download

Moon Modeler


Moon Modeler for MongoDB and Mongoose is available for Windows, Linux and MacOS.
Trial version expires 14 days after installation.

Download Moon Modeler

Purchase

Moon Modeler

You can use the same license key on Windows, Linux and MacOS.
EDU license for students and teachers is available for the Basic Edition.

Basic Edition
$99,-

Go to purchase page

Professional Edition
$169,-

Go to purchase page

Basic Edition – EDU
$49,-

Request EDU License