UML design for nodeJS web application

I am developing a web application based on third-level architecture client side: HTML5, CSS, JS, jQuery .. middle level: nodeJS Database: mysql

I need to make the overall design of a mid-tier part using UML diagrams. that the confusion is that nodeJS is not a class oriented like Java and C ++, so the question is whether it is possible to implement a class diagram for the node part, and if not, what are the alternatives?

+4
source share
2 answers

Don't beat me if I'm too far away, but nodeJS is a kind of middleware. This means that it converts some input into some output in a black box. You can model this as a component that has the necessary and provided interface.

Something along this line: enter image description here

0
source

You can think of your application design in terms of UML classes , and can code > using one of the temporary approaches to Classes in JavaScript , and a class is the main function in the upcoming JavaScript 6 . So classes are the way to go.

- - , , ...

. :

0

All Articles