Monday, September 14, 2020

Glimmer DSL for Tk 0.0.5 Hello, Computed!

 Glimmer DSL for Tk alpha 0.0.5 ships with the following changes:

  • Label text data-binding
  • Entry text data-binding
  • The `grid` geometry manager
  • Hello, Computed! sample demonstrating computed value data-binding

Below is the Glimmer code for Hello, Computed!

And here is the produced sample app screenshot.


Happy Glimmering!

2 comments:

ancorgs said...

glimmer-dsl-tk is a pretty nice project. I took a look to it by replicating the UI of glimmer-cs-calculator. It was a nice experience and I will likely use glimmer-dsl-tk for other proofs of concept in the future.

I shared my experience with other YaST developers in this thread in the YaST development mailing list. It's far from being a full review, just a simple attempt to bring some attention to your project.

Thanks for all your open source work.

Andy Maleh said...

Thank you.

Glimmer DSL for Tk in version 0.0.5 (or any 0.0.x version) is obviously a very early alpha and more of a proof of concept than a project that could be used in production at this stage.

I am happy you found it useful and built the Glimmer Calculator sample with it, but clearly from a software engineering point of view, it is not eligible for evaluation for any actual production development yet. If it reaches version 1.0.0 (or at least a beta version), then it would be a lot more feature-complete to become feasible for actual use.

In the meantime, I am mostly busy with Glimmer DSL for SWT (which is a better fit for the Enterprise internally and not necessarily for publicly published software due to its long startup time [2-10 seconds depending on machine]), Glimmer DSL for Opal (which is web), and some other Ruby libraries, so I could not develop/maintain Glimmer DSL for Tk at this time.

I built it as a proof of concept to demonstrate that Glimmer could in fact work in a non-JRuby library (MRI C Ruby). I might revisit in the future, but I do not have any short term plans to do so at the moment.

Happy Glimmering!