[Cuis-dev] Decentralized menu definition

Mariano Montone marianomontone at gmail.com
Tue Jul 19 07:36:39 PDT 2022


Hi,

El 19/7/22 a las 11:15, Juan Vuletich via Cuis-dev escribió:
> Actually, we are talking about user commands and how to issue them. 

This. I'm not here to come up with a solution this time, but I wanted to 
say that a generalized commands framework is very attractive to me.

The idea being, instead of manually and also arbitrarily creating menus, 
you could ask an object, "what actions are available in this context?", 
and group the actions to build a menu, or run the command from a key 
combination, or some other way.

That's the approach Naked Objects framework uses, and Common Lisp 
Interface Manager. You have the command abstraction, and then you are 
free to build user interface interactions automatically based on them.

If this should go into base image or not, I don't know. But the idea is 
very interesting to me; I've done some experiments, and I'm even using 
the idea for real in a web project I'm developing, meant for production.

Cheers,

     Mariano



More information about the Cuis-dev mailing list