Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A suite of Ruby libraries crafted to arm engineers with the magic of domain-driven design.

License

NotificationsYou must be signed in to change notification settings

domainic/domainic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domainic VersionDomainic BuildDomainic Code QualityDomainic Code CoverageDomainic LicenseDomainic Open Issues

Important

We're running an experiment with Domainic::Type! Help us explore flexible type validation in Ruby by trying ouralpha release. Your feedback isinvaluable for shaping the future of domain-driven design in Ruby.

A suite of Ruby libraries crafted to arm engineers with the magic of domain-driven design.

Warning

The Domainic gem is currently in pre-release. Until v0.1.0, components must be installed individually.

About

Domainic is an ecosystem of Ruby gems designed to provide a comprehensive toolkit for domain-driven design. The v0.1.0release will include:

  • domainic-attributer - Type-safe,self-documenting class attributes
  • domainic-boundary - Clean interfaces between domain boundaries
  • domainic-command - First-class command objects forbusiness operations
  • domainic-type - Sophisticated type constraints andvalidation

Current Status

Thedomainic gem itself will bundle all components starting with v0.1.0. Until then:

  • Components are being released individually
  • You must install each component separately
  • Only domainic-attributer is currently available

Installation

Current Pre-release Usage

Install components individually:

# Gemfilegem'domainic-attributer'gem'domainic-command'gem'domainic-type'# Currently in pre-release alpha

Future v0.1.0 Usage

Once v0.1.0 is released, you'll be able to install everything at once:

# Gemfilegem'domainic'# Will include all components

Available Components

  • domainic-attributer - A library fordefining type-safe self-documenting class attributes
  • domainic-command - An implementation of the commandpattern for Ruby
  • domainic-type - Stupidly granular type validations forRuby (currently in pre-release alpha)

Development

Quick Start

  1. Clone the repository
  2. Runbin/setup to install dependencies
  3. Runbin/dev ci to ensure everything is set up correctly

Development CLI

Domainic uses a development CLI to manage the monorepo and ensure consistent development practices. View availablecommands withbin/dev help. Seedomainic-devfor more information.

Key commands:

bin/dev ci# Run the full CI pipeline - REQUIRED before submitting PRsbin/devtest# Run tests for specific gemsbin/dev lint# Run linters

Project Structure

Domainic is organized as a monorepo containing multiple gems:

  • domainic-attributer/ - Type-safe class attributes
  • domainic-boundary/ - Clean domain boundaries
  • domainic-command/ - Command objects
  • domainic-type/ - Type constraints and validation

Contributing

We welcome contributions! Please see ourContributing Guidelines for:

  • Development setup and workflow
  • Code style and documentation standards
  • Testing requirements
  • Pull request process

Before contributing, please review ourCode of Conduct.

License

The gem is available as open source under the terms of theMIT License.

About

A suite of Ruby libraries crafted to arm engineers with the magic of domain-driven design.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp