Building a model application with Theia and EMF.cloud the DISCO experience
summary
DISCO is a satellite-database modeler built by plugging the EMF.cloud model server on top of an existing EMF-based framework and delivering Theia + Electron HMIs. The build uses a complex custom persistence and command model, implements a tree view with columns, JSON Forms properties, and an Xtext LSP Monaco editor; model validation maps into the Problems view. Key hurdles are synchronous vs async updates, lazy loading for large models and custom codecs; those are solved and the desktop/web UI is functional for 100+ MB models.
AI-written summary · about
chapters (25)
- 0:00Intro
- 1:22DISCO: A MODELER FOR SATELLITE DATABASES
- 2:23DISCO ARCHITECTURE
- 3:12DISCO CORE MANIPULATES
- 4:28WHY THEIA & EMF.CLOUD
- 6:13FEATURES WE NEEDED
- 8:20SHORT DEMO
- 11:56COMPREHEND THE TECHNOLOGY
- 13:10GLOBAL ARCHITECTURE
- 14:32TECHNOLOGIES YOU SHOULD MASTER (BACKEND SERVER)
- 15:48COMPETENCE YOU SHOULD MASTER
- 16:51ELECTRON DEVELOPER ENVIRONMENT
- 17:41PLUGING THE MODEL SERVER TO DISCO
- 19:04REBIND MODEL RESOURCE MANAGER
- 22:03EXTRA CUSTOM SERVICES
- 22:54NEW SERVICE OR NEW COMMAND ?
- 23:40USE CUSTOM CCOMMANDS
- 25:42USING THBA-TREE-EDITOR
- 26:45THE SYNCHRONOUS NIGHTMARE
- 27:37MODEL BATCH VAUDATION
- 28:28MODEL LIVE VALIDATION
- 29:32REFRESH VS EDIT RACE CONDITION
- 32:46EXTRA TIPS
- 33:59TIPS FOR EMF.CLOUD
- 35:16THANK YOU
related talks
34mBuilding Web-based Modeling Tools based on Eclipse Theia
32mBuilding cloud-native (modeling) tools
29mThe Busy RCP Developer’s Guide to Eclipse Theia
39mTheia Architecture Overview
28mAchieving Economies of Scale in Cloud IDEs
37mEclipse Theia - News from the Next Gen Tools Platform
45mSet your data free with model-based architecture diagramming
17mState isn't all you need, but It helps: building better LLM apps in the browser
