Codebots are bots that code, they take our design documentation and produce code. Exactly what do we need to give the bots for them to work and how can we make iterative changes?
The documentation that is provided to a codebot comes in the form of three diagrams:
The entity diagram is where we define the data within our application (as business objects or entities), and the relationships between different entities. The entity diagram relates to the achitecture of the application and, as such, many related extensions can be applied here. More details on the entity diagram can be found in The basic components of the Entity Diagram.
The The User Interface Diagram is where we define our user interface pages and their contents. Extensions which relate to UI elements can be applied here through the adding of extension items to a page.
Finally, the Using the Security diagram is where we define our groups and permissions, giving us full control over what groups can access what business objects.
These three diagrams combine and are provided as input into our codebot which then provides the code as output.
As the output code has a direct relationship with the input diagrams, we can continually change these diagrams to keep updating our code. This can be done many times within a few minutes if required.