Update 'Home'

master
code-dev 3 years ago
parent
commit
71c19bb3de
  1. 12
      Home.md

12
Home.md

@ -100,17 +100,13 @@ What the template does here is self-explanatory:
The next step, which happens during run-time, is to load a template file. The loaded template file is turned into Java code by mapping generative functions into Java code.
<p id="gdcalert2" ><span style="color: red; font-weight: bold">>>>>> gd2md-html alert: inline image link here (to images/image2.jpg). Store image on your image server and adjust path/filename/extension if necessary. </span><br>(<a href="#">Back to top</a>)(<a href="#gdcalert3">Next alert</a>)<br><span style="color: red; font-weight: bold">>>>>> </span></p>
![alt_text](images/image2.jpg "image_tooltip")
![Template loading](https://chulk.org/code-dev/codegen/src/branch/main/doc/images/image2.jpg "Template loading")
The following Java code has been generated based on the template from the previous step.
```
```java
package lorem.ipsum.javatester.file;
import java.util.UUID;
@ -146,7 +142,7 @@ public class Generator {
The user feeds a domain model to the template-driven Java code and generates text output.
```
```java
final CodeModel model = new CodeModel();
model.setName("Lorem Ipsum");
@ -164,7 +160,7 @@ Hello, Lorem Ipsum!
```
```java
final CodeModel model = new CodeModel();
model.setName("Not Lorem Ipsum");

Loading…
Cancel
Save