snetkillo.blogg.se

Javascript uml editor
Javascript uml editor








We have a complete model to build the application. For example, for firstName we can set its type (that has for default value any which means that it can have any type) to string.įrom this JSON it will be easy to generate a UML class diagram. We have here all informations defined in the schema that we can edit in a human readable format. Let’s say we put all these informations related to this model into a JSON file, we could have something like that:Įnter fullscreen mode Exit fullscreen mode A Jedi is defined by its first name and its last name, she/he has got a mother and a father, and can have children. Lets say we want to create a model of a Jedi. Let’s find the format we need with an example. I know that UML diagrams can be saved in XMI format but it is for machine not human. It is quite complex and not so human friendly when you need to understand a diagram. But the problem is that it is not a format, it is a language. But what format? We could use UML, it is quite common now and there are many design tools that use it. It has to be somewhere else, normalized in a human readable format. And this model do not have to be in the code.

JAVASCRIPT UML EDITOR CODE

That is why no matter the frameworks you use and the code you write, the most important is the model that you define to create your application. Moreover, because we are human, because our way of thinking differ from one developer to another developer, we need also to understand the mental space organization that the developer had when she/he was coding. By reading the code, we only could guess what model, patterns were used to create the application. The code is just the fabric of which the application is made. We start coding before designing the model of our application just because we think the code is the model. We avoid too many times this fundamental step of design when developing. I could stop myself making an analogy with our work. We could clearly understand the kind of clothes she wanted to do by looking at the patterns. She used to draw her patterns on big, large papers.

javascript uml editor

Recently when cleaning her home, we found a treasure, the patterns she used for creating her clothes. She made beautiful traditional clothes for my family that we keep preciously. My grand-mother was a brodeuse, french name for embroiderer.








Javascript uml editor