
Shared, type-safe domain primitives—immutable value objects and strongly-typed identifiers—establish a common ubiquitous language across bounded contexts while avoiding behavior, persistence, and transport concerns.
Repository for the Domain layer of the Smarthome project, which is a home automation system that allows users to control various smart devices in their home.
This project uses a form of CalVer for versioning. The version format is YYYY.MM[.PP][-SNAPSHOT].
With YYYY being the year, MM being the month, PP being the patch number (optional), and -SNAPSHOT indicating a pre-release version.
The smarthome-domain module defines the shared domain primitives used across the Smarthome platform.
Its purpose is to provide a common, type-safe ubiquitous language that can be reused by multiple bounded contexts (such as the hub backend and mobile clients), without coupling those contexts to each other’s internal models or responsibilities.
This module is intentionally small, stable, and dependency-free.
This module contains only fundamental domain concepts that are universally understood across the platform:
EntityIdentifier)Temperature, Percentage)These type are shared to ensure:
String, Int, etc.)To preserve clear boundaries and avoid leaking responsibilities, the following must not be included in smarthome-domain:
In other words: This module contains no behavior that changes state or enforces business invariants.
To ensure a smooth and productive collaboration, please follow the guidelines as stated in CONTRIBUTING.md.
To prune and delete local branches please run git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done in the project root directory
This project is licensed under the MIT License. See the LICENSE file for details.
Repository for the Domain layer of the Smarthome project, which is a home automation system that allows users to control various smart devices in their home.
This project uses a form of CalVer for versioning. The version format is YYYY.MM[.PP][-SNAPSHOT].
With YYYY being the year, MM being the month, PP being the patch number (optional), and -SNAPSHOT indicating a pre-release version.
The smarthome-domain module defines the shared domain primitives used across the Smarthome platform.
Its purpose is to provide a common, type-safe ubiquitous language that can be reused by multiple bounded contexts (such as the hub backend and mobile clients), without coupling those contexts to each other’s internal models or responsibilities.
This module is intentionally small, stable, and dependency-free.
This module contains only fundamental domain concepts that are universally understood across the platform:
EntityIdentifier)Temperature, Percentage)These type are shared to ensure:
String, Int, etc.)To preserve clear boundaries and avoid leaking responsibilities, the following must not be included in smarthome-domain:
In other words: This module contains no behavior that changes state or enforces business invariants.
To ensure a smooth and productive collaboration, please follow the guidelines as stated in CONTRIBUTING.md.
To prune and delete local branches please run git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done in the project root directory
This project is licensed under the MIT License. See the LICENSE file for details.