Reactium
  • Quick Start
  • Discuss
  • Approach
    • Architecture
    • DDD Introduction
    • Domain Model
  • Reactium App Foundation
    • Reactium Guides
      • Creating a Simple Single Page Web App (SPA)
      • Creating a Sassy Style Sheet
      • Reactium Core
      • Reactium + Actinium (APIs)
      • Reactium + REST
      • Plugin Module Guide
      • Animating React Routes
      • Reactium in Production
    • Reactium Domain Model
      • Basic Domain Model
      • Runtime Domain Model
      • Buildtime Domain Model
    • Reactium SDK
      • Reactium SDK Reference
    • Updating Reactium
  • Installing Foundations
    • Before You Install
    • Install Reactium
    • Install Actinium
  • Reactium API Foundation (Actinium)
    • Actinium Core
    • Setting up your User
    • Actinium SDK
      • Actinium SDK Reference
    • Actinium Domain Model
    • Extending
    • Updating
    • Live Query
  • Reactium Toolkit
    • Overview
    • Installation
    • Configuration
    • Customization
    • Creating Elements
      • Sidebar Elements
      • Toolbar Elements
      • Documentation Elements
    • Components
      • Sidebar
      • MenuLink
      • Element
      • Code
      • Markdown
      • Icon
    • Toolkit SDK
Powered by GitBook
On this page
  • Basic Artifacts
  • Redux Artifacts
  • Runtime Artifacts
  • Build Artifacts
  1. Reactium App Foundation

Reactium Domain Model

Instead of creating large directories by file type, organize your project into domains, and put type specific files in that domain directory.

PreviousReactium in ProductionNextBasic Domain Model

Last updated 3 years ago

Basic Artifacts

Reactium comes with some powerful capabilities with these basic artifacts. The power to route, style, and integrate with other parts of your application. See for more details.

Much of the boilerplate of the some of these important artifacts can be create with arcli:

arcli component

File

Description

Route configuration file, creating one or more React Router routes.

Main component file

Sass styles

Reactium isomorphic plugin bind point that run at the file scope on app bootstrap.

Domain configuration file. Used to help group functions to your domain.

Utility functions and AJAX requests

Reactium node/express (back-end only) plugin bind point that run at server startup

Redux Artifacts

The @atomic-reactor/reactium-redux plugin automatically adds the following discoverable Redux-specific DDD artifacts to your application manifest. See Redux Domain Model for more details.

Redux Artifacts

Description

Redux actions

Redux actionTypes

Redux reducers

Redux default state

Redux middleware

Redux store enhancer

Runtime Artifacts

File

Description

Automatically creates entry point for a new UMD (Universal Module Definition) bundle, useful for service workers and runtime plugins.

When found in a directory containing a umd.js UMD (Universal Module Definition) entry point, will be used to generate the manifest configuration for the UMD module.

Build Artifacts

Build Config Artifacts

Description

Used to register/unregister gulp tasks for the build.

Used to register/unregister webpack configuration for the build.

/ test

Reactium comes with built-in capability to generate run-time modules that can be loaded in your applications. The Reactium opinion makes it easy for your applications to be naturally extended. See for more details.

If you wish to use the Reactium SDK and hooks system to change the behavior of Gulp tasks or Webpack compilation for your plugin, you can use build-time DDD artifacts to register your behaviors. See for more details.

Basic Domain Model
Runtime Domain Model
Buildtime Domain Model
actions.js
actionTypes.js
reducers.js
state.js
middleware.js
enhancer.js
Jest
Enzyme
reactium-gulp.js
reactium-webpack.js
umd.js
umd-config.json
route.js
index.js
_reactium-style.scss
reactium-hooks.js
domain.js
services.js
reactium-boot.js
test.js