DEV Community

Cover image for Glimmer DSL for LibUI Scaffolding + Snake Game
Andy Maleh
Andy Maleh

Posted on

Glimmer DSL for LibUI Scaffolding + Snake Game

Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library) versions 0.9.x include support for a new Glimmer Command, Application Scaffolding, Custom Component Scaffolding, Custom Component Gem Scaffolding, and more. These features greatly improve Software Engineering Productivity when building desktop applications with Glimmer DSL for LibUI. Glimmer Scaffolding could be thought of as the "Desktop Application" equivalent of Rails Scaffolding and Generators.

Application Scaffolding enables automatically generating the directories/files of a new desktop GUI application that follows the MVC architecture and can be packaged as a Ruby gem that includes a binary script for running the app conveniently.

In fact, I ate my own dog food and used the new Application Scaffolding feature to effortlessly scaffold a Glimmer Snake game (code is included near the bottom of this post):

https://github.com/AndyObtiva/glimmer_snake

glimmer snake

This is the gemified app edition of the Snake game example that is included in Glimmer DSL for LibUI.

Learn more at this blog post (and at the Glimmer DSL for LibUI project and Glimmer Snake game pages):
https://andymaleh.blogspot.com/2023/10/glimmer-dsl-for-libui-scaffolding-snake.html

Happy Glimmering!

Top comments (0)