Create your first studio in 5 minutes
Use this end-to-end tutorial when you want to bootstrap a brand-new studio: create the domain, define the view, and validate everything in a test project.
1. Steps
-
Create the studio
-
Open the Project Browser page and create a new Studio project.
-
-
Model the domain
-
Inside the studio project, create a domain.
-
Declare the main entities, attributes, and relations for your DSL.
-
Keep the structure simple at first, two or three entities are enough to validate the workflow.
-
Need a refresher? Follow Create your first domain.
-
-
Define the view
-
Still inside the studio project, add a view model.
-
Create at least one representation description (diagram, table, or form) and tie it to your domain entities.
-
Wire the minimal description and styles needed to display your semantic objects.
-
Refer to Create your first view description if you need more guidance.
-
-
Test the studio
-
Create a project with some semantic data and create a representation of the new type.
-
Use the representation to ensure that its appearance and behavior matches your expectations
-
Switch back to the studio and tweak the domain or the view.
-
Reopen the representation, the runtime will update the description of the representation
-
-
Iterate and share
-
Once the studio behaves correctly, export it or package it inside your Sirius Web distribution.
-
Share the project with colleagues so they can import it and continue refining the DSL collaboratively.
-
TIPS: When experimenting with complex AQL, validate expressions in the Query view before placing them in the view model.