Giter Club home page Giter Club logo

ddd-example-cms's Introduction

ddd-example-cms

各位朋友clone和fork之前,麻烦顺手帮忙star一下!

本项目使用ddd-archetype创建,是后端的案例工程。项目中实现CMS部分的功能,并落地部分DDD的概念。

ddd-archetype的链接为:https://github.com/feiniaojin/ddd-archetype

实现的DDD概念有:实体、值对象、聚合根、Factory、Repository、CQRS。

技术栈:

  • 采用H2内存数据库,无其他中间件依赖
  • Spring Data Jdbc

对应的前端工程GitHub地址:https://github.com/feiniaojin/ddd-example-cms-front

maven依赖找不到

如果有maven包找不到,请将以下仓库clone到本地编译即可。

https://github.com/feiniaojin/ddd

DDD学习免费电子书

作者将多年领域驱动设计的经验,撰写成《悟道DDD(Thinking in DDD)》这一电子书,力求用最平实、最通俗、最容易理解的方式将DDD分享给各位朋友。

本电子书永久免费阅读,欢迎沟通交流。

项目地址:https://github.com/feiniaojin/Thinking-in-DDD

在线阅读:http://ddd.feiniaojin.com/

DDD学习交流群

欢迎加入DDD交流群。微信扫以下二维码添加作者微信,标注“DDD”,好友申请通过后拉您进群。

pi1rmB6.jpg

ddd-example-cms's People

Contributors

feiniaojin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddd-example-cms's Issues

类型参数java.lang.String不在类型变量E_ID的范围内

我在引入了ddd.jar包之后,在ArticleEntityRepository接口中,提示继承的类中DomainRepository<ArticleEntity, String>中的类型参数java.lang.String不在类型变量E_ID的范围内。具体代码如下:
package com.feiniaojin.dddexample.cms.domain;

import com.feiniaojin.ddd.DomainRepository;

public interface ArticleEntityRepository extends DomainRepository<ArticleEntity, String> {

}

pom 中的一些重复引入和错误引入

ddd-archetype中引入了重复的
com.feiniaojin.ddd
ddd-archetype-infrastructure-cache
${project.version}

并且在多个模块中引入了 不存在的
com.feiniaojin
ddd

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.