我想知道我可以为具有后端 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/