codingapi / springboot-framework Goto Github PK
View Code? Open in Web Editor NEWspringboot领域驱动开发
License: Apache License 2.0
springboot领域驱动开发
License: Apache License 2.0
业务分类:
PS:
针对这两种业务,是都可以实现业务模型的自控的。这里主要讨论的是被动业务模式,在这种情况下开发的过程中,容易被第三方的提供能力所束缚,例如受限于他提供的接口顺序与字段要求,容易让自己的业务模型变成了调用服务的工具类,从而失去了模型的意义。对应这样的场景,提供两个建议:
1,我们可以把第三方服务看做成数据库服务,这样你的业务模型与第三方服务交互的过程就变成了是由Repository完成的持久化过程了。
2,为了应对第三方服务层面的设计(如接口顺序、字段限制)问题影响到业务模型,可以在第三方服务的基础设施上做适配器,不要让第三方服务的设计问题腐蚀到你的业务模型。
做数据权限,个人觉得还是政府类的比较严格,也比较通用。
数据权限无非以下几种情况,如果能支持,这个权限还是比较好用的。
AES aes = new AES(key, iv);
String content = "hello world";
String encrypt = Base64Utils.encodeToString(aes.encrypt(content.getBytes()));
System.out.println("encrypt:" + encrypt);
when load AES by local keys, then throws InvalidParameterSpecException
SearchRequest parseObject value bug
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
当前 IPersistenceEvent 并无法主动实现事务回归。
而且 事件本身不需要同步主业务的事物,即事件对于主业务来说,可成功可失败,成功与失败都不应该强关联主体业务。
若需要让主体业务与分支做同步的时候,那不应该采用事件机制。而应该直接调用的方式实现业务绑定。
springboot-starter-fastshow
数据权限作为管理系统中常用的功能,却没有非常适合的框架。通常在系统的研发过程中,都由研发人员自行控制。无抽象的数据权限设计模式。
springboot-data-permission将解决该问题
产品远景:
相同的key在加入的时候,将之前的key删除掉,然后在把当前的Filter添加进去。
这样做,后加入的key将会影响filter的顺序,相当于重新调整到最后的位置了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.