Giter VIP home page Giter VIP logo

dddplus-demo's Introduction

Demo of DDDplus

演示如何使用DDDplus实现一套订单履约中台OMS

Requirement DDDplus version

OMS业务入门

目录

Terms explained

  • bp
    • Business Partner
    • 业务前台
  • cp
    • Central Platform
    • 中台
  • isv
    • Independent Software Vendors
  • ka
    • Key Account
    • 关键客户
  • oc
    • Order Center
    • 订单中心

如何运行该演示

git clone https://github.com/dddplus/dddplus-demo.git
cd dddplus-demo
mvn package
java -jar order-center-cp/cp-oc-main/target/dddplus-demo.jar
#java -jar order-center-cp/cp-oc-main/target/dddplus-demo.jar 9090 plugin

# in another terminal
curl -XPOST http://localhost:9090/order             # submit an order
curl -XPOST http://localhost:9090/reload?plugin=isv # plugin hot reloading

演示代码入口

代码快速入门

代码结构

依赖关系

订单履约中台,通过spec jar为业务前台赋能,输出中台标准,并提供扩展机制。

订单履约中台本身的个性化业务,即个性化的业务模式包。

订单履约中台的多个业务前台

KA,关键客户的个性化业务通过扩展点的实现完成。

ISV,独立软件开发商的个性化业务通过扩展点的实现完成。

Fresh,生鲜业务前台的个性化业务通过扩展点的实现完成。

这个业务BP,被中台要求不能使用Spring框架开发,不能在业务扩展包里使用AOP等Spring机制,只能严格实现中台定义的扩展点。

为了演示,ISV和KA这2个业务前台BP在开发业务扩展包时,可以使用Spring框架。

支撑域

如何快速搭建中台工程骨架

使用 dddplus-archetype,可以快速搭建中台的工程骨架。

dddplus-demo's People

Contributors

funkygao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.