Giter Club home page Giter Club logo

ddd-file-generator's Introduction

DDD File Generator

This is an extension that creates directories and files based on layer architecture of DDD for each input domain.

I developed it to reduce the effort of repeating files and directories on Scala dev env.

Features

  • A total of 4 directories and 4 sample scala files will be created. Create Domain Structure02

Commands

Command Title Description
ddd-file-generator.createDDDStructure DDD:Create DDD Structure A package for the entered domain name is created, and each of the four layer packages and sample files are created below it.
ddd-file-generator.createDDDStructureWithoutFiles DDD:Create DDD Structure Without Files A package for the entered domain name is created, and each of the four layer packages are created below it.
ddd-file-generator.createDDDStructureWithZio DDD:Create DDD Structure With Zio The file structure created by Create DDD Structure is the same, but additional code for the zio layer is generated in files excluding the domain layer. If you are not using the ZIO library, you do not need to use this command.

Supported Languages

  • Scala3

Known Issues

  • Since it is created in the standard source code location of the Scala project(i.e. src/main/scala), if it is executed with a vscode command not like through the context menu, the result will be created under the path.
  • Other languages may be supported in the future.

Release Notes(without hotfix)

1.2.0

  • Add new command for ZIO layer (ddd-file-generator.createDDDStructureWithZio)

1.1.0

  • Fix command name
  • Add another command for it without files (ddd-file-generator.createDDDStructureWithoutFiles)
  • Add configuration. Now It can be specified the default root path and the directory name of each layer in setting

1.0.0

Initial release to Vscode Marketplace with 1 main command

For more information

This project is inspired by ddd-hexagonal-generator and includes part of it's code

Enjoy!

ddd-file-generator's People

Contributors

terdong avatar

Stargazers

 avatar

Watchers

 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.