Giter Club home page Giter Club logo

isolating-the-domain's Introduction

ドメインを隔離する Isolating the Domain

gradle based Spring Boot & MVC & Thymeleaf & MyBatis template project

2016-5-1 リリースノート

  • パッケージの意図を明確に
  • パッケージ構造の整理と package-info.java の加筆修正
  • 未使用でも、標準的なパッケージを追加

パッケージ構成

  • application
    • service //サービス部品
    • usecase //サービスを組み合わせたユースケース定義
  • domain
    • fundamentals //モデル記述の基礎部品
    • model //中核の関心事の記述
  • infrastructure
    • datasource //データベースアクセスの実装
    • transfer //通信の実装
  • presetation
    • controller //コントローラ
    • view //ビュー定義

2016-4-30 リリースノート

  • MyBatis-spring-boot-starter 導入(mybatis config の自動化)
  • mybatis JSR310 ハンドラー導入(自動configされる)
  • boot deevtool 導入 ( h2-console を有効にする)

localhost:8080/h2-console で h2 コンソールに接続 ( jdbc:h2:mem:testdb)

2016-4-18 リリースノート

  • Spring Bootを1.3.3.RELEASERへ
  • MyBatisを3.3.1.RELEASEへ
  • MyBatisのJSR310 Date & Time API向けTypeHandlerを導入
  • 自作TypeHandlerを削除

2016-4-14 リリースノート

  • ダイレクトフィールドアクセスに切り替え
  • ドメイン層のgetter/setter 禁止
  • Sprng MVC の Session Attribute のライフサイクル管理の向上
  • テーブルの NOT NULL の徹底
  • 画面レイアウトを 水平フォームへ

設計ガイド

https://github.com/system-sekkei/isolating-the-domain/wiki/%E3%83%89%E3%83%A1%E3%82%A4%E3%83%B3%E5%B1%A4%E3%81%AE%E8%A8%AD%E8%A8%88%E3%82%AC%E3%82%A4%E3%83%89

起動方法

./gradlew clean bootRun

実行可能Jarのビルド

./gradlew clean build

アーキテクチャ

アーキテクチャ

isolating-the-domain's People

Contributors

masuda220 avatar stgctkm avatar numamino avatar i-takehiro avatar

Watchers

James Cloos 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.