首页 > 其他 > 详细

Creating a new dynamic form project, business modeling.

时间:2018-08-27 20:37:10      阅读:183      评论:0      收藏:0      [点我收藏+]

技术分享图片The domain logic is like there are a bunch of objects, as well as a lot of configurations, according to ddd, there should a base entity, as well as dtos, using entity framework code first, always use migration to mysql, each change will be displayed timely. Mongo DB is a general object store, to save front end dynamic data, it is possible to save items with different and mutable properties into the same collection, which makes the whole form dynamic configurable. References can be as in database, using foreign key constraint, and lazy load collections. 

OOP design is not hard, for each config, there is a tree, which consists of dynamic control nodes, and expanding the tree and resolve controls into mysql, then save the mutable whole config tree into Mongodb can be a good solution. BTW. It is not hard to find a mongodb visualizer adminMongo management portal on Github, simply config connection, and visually see all data in collections and do operations. Could be good enough. Based on an ABP framework.

技术分享图片

 Suddenly find my explanation on expanding encapsulating a tree can be critical. Really impressive in recursion.

Creating a new dynamic form project, business modeling.

原文:https://www.cnblogs.com/hualiu0/p/9543989.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!