You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Since version 1.3.0 groupId was changed to `io.zenwave360.sdk`
14
-
15
13
ZDL is a Domain Specific Language (DSL) for Event-Driven Architectures. With Domain Driven Design principles built-in, it can be used to map the discoveries of an [EventStorming](https://www.eventstorming.com/) session.
16
14
17
15
- Designed to be developer friendly, with a simple and compact syntax.
18
16
- It retains the language of the business process discoveries found in Event-Storming sessions.
19
17
- And because it's machine-friendly it can be parsed and converted into multiple software artifacts like:
20
18
- documentation, drawings, API definitions like OpenAPI and AsyncAPI v2/v3 and multiple backend implementations and its tests.
21
19
20
+
Usage:
21
+
22
+
* Java:
23
+
24
+
```xml
25
+
<dependency>
26
+
<groupId>io.zenwave360.sdk</groupId>
27
+
<artifactId>zdl-kotlin-jvm</artifactId>
28
+
<version>${zdl-kotlin.version}</version>
29
+
</dependency>
30
+
```
31
+
32
+
```java
33
+
String zdlContent ="...";
34
+
ZdlParser parser =newZdlParser();
35
+
ZdlModel model = parser.parseModel(zdlContent);
36
+
```
37
+
38
+
* JavaScript/TypeScript:
39
+
40
+
```bash
41
+
npm install @zenwave360/zdl
42
+
```
43
+
44
+
```js
45
+
import { parseZdl } from'@zenwave360/zdl';
46
+
47
+
constzdlContent="...";
48
+
constmodel=parseZdl(zdlContent);
49
+
```
50
+
22
51
Further reading:
23
52
-[ZDL Domain Language Reference](https://zenwave360.github.io/docs/event-driven-design/zenwave-domain-language)
0 commit comments