With Barak Merimovich, Solution Architect at GigaSpaces
A domain-specific language (DSL) is a programming language or specification language dedicated to a particular problem domain, a particular problem representation technique, and/or a particular solution technique. Cloudify, the open-source PaaS stack, uses a Groovy-based DSL to define ‘recipes’ which include all of the information required to run a service in the cloud, including lifecycle, monitoring, scaling and more. The Groovy DSL is integrated into the Java based Cloudify stack.
In this talk we will discuss why we chose to use a DSL, and why groovy specifically, and how the DSL is implemented.
A general agenda:
- Cloudify – A quick overview
- What is a DSL?
- Why use a DSL for Cloudify Recipes?
- Why Groovy?
- The Cloudify Groovy DSL
If possible, we will show actual running code samples for Java/Groovy integration.