java - 如何为 MongoDB 等 NoSql 绘制 UML 图?

标签 java mongodb uml erd nosql

我想知道我可以为具有后端 Mongodb 的 Web 应用程序绘制 UML 图吗?

或者NoSql还有其他图表吗?

最佳答案

我在网上找到了类似的答案,也许这会有所帮助:

NoSQL databases approach modelling from a different point of view generally. NoSQL modelling usually begins with asking questions on how the data in the database is going to be queried, so the main modelling is 'what are the list of questions that I want to ask of my database', whereas with SQL databases, modelling usually is a function of what data you have, that is, what answers I have already.

Once you have a list of questions, you then need to design a model that will answer those questions via the NoSQL database. To model it, I typically use Creately which is an online tool for visually representing models of various kinds.

Another method could be to represent your NoSQL model in JSON format and then use the wonderful D3.js javascript library to create a data-driven document. See this website for more details and the templates available to visually represent your model.

Hope it helps.

关于java - 如何为 MongoDB 等 NoSql 绘制 UML 图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38616623/

相关文章:

uml - 在用例建模中分解 CRUD

java - ArrayList 的多线程打印

java - 如何从 applet 中获知 Java applet 正在哪个 Web 浏览器下运行?

java - 使用 morphia 在 mongodb 中的对象列表中搜索

uml - uml 中的主键/外键

java - 如何在 UML 枚举中对覆盖进行建模?

java - 没有泛型的愚蠢证明迭代的API设计

java - Apache CXF CachedOutputStream NoClassDefFoundError

mongodb - 如何删除mongodb列表中的重复值

java - 使用 docker-compose 连接 mongodb 容器的 Spring Boot 容器出现 503 错误代码