1. Overview
  2. Fundamentals
  3. What is CodeStencil

What is CodeStencil

CodeStencil is a code generator that utilizes smart string replacement combined with file and folder structure logic that represents the final output expected after the code has been generated. CodeStencil uses stencils for code generation. Stencils are similar to templates in behavior, however, they are a lot more powerful.

Code Structure (Files & Folders)

The CodeStencil Code Tree gives you an actual representation of the same file/folder structure of your generated code. That is why the Reverse Engineer Source Code feature is so powerful because it helps transform an existing source code into a stencil that can be reused to generate the same type of code but now with different parameters or database schema you may specify.


It also provides you with the ability to run your own code external to the application in order to manipulate the output generated.


Was this article helpful?