Daml Hub Product Knowledge Base

Daml and Daml Hub combine to create a framework designed for building composable, flexible applications in what was otherwise a stodgy, slow category. Only write the code that describes the behavior of your application, never to manage any of the infrastructures. When deployed in Daml Hub, you will pay for what you use at the ledger update level instead of overprovisioning and underutilizing cloud infrastructure.

Autoscaling application backends

Complete Daml applications can be deployed without any infrastructure configuration or engineering effort. Your full application can be built from scratch and launched to production in a matter of days. Applications running in Daml Hub scale as your traffic increases and you’ll only ever pay according to your activity.

Multiple-Page Application (MPA) backends

Daml application backends easily support the functionality required to drive feature-rich, multi-page applications. A single file can be responsible for and generate all your APIs, roles, access controls, permissions, and everything you need to drive a complex application. Daml decouples each step of a workflow by breaking it down into a series of functions and state changes. Your Daml file also describes highly granular controls over data permissions across a complete workflow. Daml Hub simplifies authentication and authorization schemes by mapping an authentication layer to your Daml definitions.

Event-driven applications

Daml applications produce tangible and reproducible event-driven applications by capturing the sequence of events as they occur in several disparate systems and making that sequence available to create actionable conclusions. When deployed in Daml Hub, that facility is made available at a low cost. In addition, Daml applications integrate well with external systems and stateless components, creating a scalable event-driven application across all components.

Workflow engines

Many businesses - particularly those at the beginning of a digital transformation - seek to consolidate, encode, and refine their core business processes. This can be done by capturing those workflows within Daml’s declarative and self-descriptive language, which describes the separation of actions according to the role of the actor and combines those actions within a broader state machine. Daml is an ideal language for capturing and extending this state machine design, and with Daml Hub you can bring that state machine to life in just a few clicks, over the internet!

Transparent and auditable applications

SaaS applications are increasingly coming under scrutiny about the data held by the application and what other services the data has been shared with. Users of applications running in Daml Hub can view all the core data within an application that is relevant to their activity. In addition, users can audit which entities are entitled to access the data and have active access to the data at any given time. Building applications in this way allows developers to build and gain trust with their users over time, increasing the number of services and information the user will be willing to share with the application.