Naming Convention

Consistent naming for files and classes are encourage to practice for clarity and human readable.

Module - [Subject]Module

Example - UserModule

Controller - [Subject]Controller

Example - UserController

Feature - [Operation][Subject]Feature

Example - CreateUserFeature, ReadUserFeature, UpdateUserFeature

Job - [Operation][Subject]Job

Example - CreateUserJob, ReadUserJob, UpdateUserJob

Request - [Operation][Subject]Request

Example - CreateUserRequest, UpdateUserRequest

If you use Mojura package installed in your project and use Mojura commands to generate Controller/Feature/Request/Job files, please use [Subject][Operation] naming convention.

Module folders are automatically generated when you generate a Mojura Class.

Updated on