How to leverage Astah’s “Reference Model Management” for your development

astah-reference-model-management

What’s “Reference Model Management”?

astah-team-developmentAstah’s “Reference Model Management” is a very powerful function which allows you to import other project models as read-only. This allows you to alter models locally using other project’s models without worrying about altering the originals.

When there’re any updates on the original models, Astah automatically detects them and informs you; ensuring you’re always working with the latest changes and eliminating the need to manually check an sync.

 

Useful in what situations?

Team Development

When you are working with a team, you would be breaking down the work per layers, components or packages to assign to each member. Even when you are not working with team, sometimes you may want to divide projects to manage them separately. In both cases, this “Reference Model Management” enables you to work on your model with other project models without a worry about making side effects to them. Also when any change is made on the other models, Astah automatically detects it and you can sync right away.

Watch 2-min demo video

 

Development with High-level Design

When you have the high-level models provided from your clients, or ones that have been set in a fixed state, you want to make sure that nobody alters them. Making them “read-only” in your project prevents any unexpected alterations or extensions.
Another benefit of “Reference Model Management” is the alert that Astah gives you if an attempted change could affect the high-level model, which can be a hint that the “high-level design” isn’t currently appropriate and some changes may be needed there.

Development using Frameworks and Libraries

When you develop using the framework or libraries, you can’t make any changes to them. So importing the framework as read-only makes sure you won’t change them and create inconsistent dependencies because of changes.
Here’s how to use “Reference Model Management” with Frameworks and Libraries.

1. Reverse Engineering – import the framework source code

There are many open source frameworks available for developers. By using Astah’s reverse engineering capability, you can import the framework source code into Astah to create a “Framework project”.

2. Import the Framework project to your project

Create a nastah-import-frameworkew file for your project, and add the Framework project as read-only from [File] – [Reference Model Management] – [Add].
You can import multiple projects, so create as many projects as needed by reversing the source code and then add them to your projects as read-only.


astah-framework3. Use and extend the Framework

Now you can work using the framework models. If Astah finds that proposed changes could have negative side effects to the framework models (by adding attributes, operations, parameters and dependencies from the framework to extended classes), it gives an alert, so you can fixe the proposed changes.

4. Update the Framework

astah-update-reference-modelsWhen the framework is updated, you can reverse the latest source code to the framework project and update your framework project.
Once the framework project is updated, Astah automatically detects it, so that you can sync the update of the framework.

 

Try it!

Using Astah’s “Reference Model Management” for team development and to minimize accidental mistakes in designs is only available for Astah Professional edition. Get a free 50-day trial and see how it works! If you’d like to evaluate Astah with your team, you can get a corporate trial license!
astah-professional

 

Related article: Let’s start collaborative UML modeling with Astah

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s