Mastery 04 – Modeling Languages and Tools

According to Techopedia, a “graphical Modeling language is any graphical or textual computer language that provisions the design and construction of structures and models following a systematic set of rules and frameworks.” This languages help us represent objects, systems, processes and data. The help us to recognize value or errors in the processes or in how something is composed.

There are a number of modeling language types, such as:

  • Algebraic
  • Behavioral
  • Discipline-specific
  • Domain-specific
  • Framework-specific
  • Information and knowledge
  • Object-oriented
  • Virtual reality

UML

The Unified Modeling Language is a general purpose modeling language for software development. It was created by the three amigos: Grady Booch, Ivar Jacobson and James Rumbaugh. Threy created it with te purpose of having a standard in the modeling and design of software projects.

One use of UML is class diagrams. They explain how an object-oriented system is made. It describes each class and how the are connected to other classes.

I will need the example below for a project of another class of this semester:

ClassDiagram.png
This diagram was created by using the online tool: http://www.draw.io

As we can see, each rectangle is a class and has two sections: the first one has the attributes of the class and the other has the methods of the class. Each attribute and method has a plus sign (‘+’), this means that everything in all my classes is public. To denote that something is private, we use the minus sign (‘-’) and for protected things, we use the number sign (‘#’). We describe the type of an attribute by writing a colon (‘:’) and then the type of the attribute. For methods, we write the types of the parameters in the parenthesis, and to describe the type of data that the method returns, we use, again, a colon and then the type.

The lines that connect classes, describe the relation that the classes have. For example, in my diagram, we use ones that describe ‘composition relations’. These relations mean that the class without the black diamond need the class with the diamond in order to exist. There are other types of relations in these kind of diagrams, I will not explain all of them nor the inheritance relations, but I will present you a video from the YouTube channel Lucidchart,  in the end of this post, that will answer all those questions that might emerge from reading this post.

References

Techopedia. (2018). Modeling Language. Techopedia. Consulted on February 10th, 2019
[online]. Available on: https://www.techopedia.com/definition/20810/modeling- language

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s