I am designing an web application based on 3rd tier architecture client side : HTML5 , CSS , JS , jQuery .. middle tier : nodeJS Database : mysql
I need to do the general design of the middle tier part using UML diagrams. what's confusing is that nodeJS is not class oriented like Java and C++ , so the question is can I implement a class diagram for the node part and if not what are the alternatives ?
Don't beat me if I'm too far off but nodeJS is some kind of middleware. That means it transforms some input to some output in a black box. You can model that as component having a required and a provided interface.
Something along this line: