Visage is a domain specific language (DSL) designed for the express purpose of writing user interfaces.
Visage is a domain specific language (DSL) designed for the express purpose of writing user interfaces.
A Visage application models the user interface you are designing both in appearance and function.
The Visage language has the following benefits:
- Declarative Object Construction - Code looks like the UI it is representing.
- Data Binding - Variables can be bound to UI state, allowing automatic updates and behavior to be triggered.
- Behavior Encapsulation - Visage provides closures to make it easy to implement event handlers or other behavior-driven logic.
- Null Safety - Application logic will proceed even if intermediate variables are undefined or null.
- Cascading Properties (proposed) - Visage code can define behavior that cascades down the object tree without the need for a separate language.