OpenSmock / Pyramid

Pyramid is a Graphical User-Interface (GUI) builder and editor for Bloc and Toplo.
MIT License
33 stars 6 forks source link

Draft simplerene integration #189

Open guillep opened 4 months ago

labordep commented 4 months ago

@Nyan11 have you test it?

Nyan11 commented 4 months ago

Yes, The idea is to create a meta-model of Bloc using the simpleRene description language. And then use this meta-model to automatically generate the Pyramid properties.

For example: We can define the concept of "font-size" as a number between 1 and infinity. We can defnine the concept of "BlTextElement" as an object link with a "font-size" by the font-size accessor. Therefor we can use this information to generate the "font-size" property inside Pyramid for the BlTextElement.

The pros:

The cons:

I dont think anyone except us would need the meta-model of Bloc. I dont think we should invest the time to do this change.

But if we have the time, this proposition should be done. It will enable Pyramid to edit anything that has been described with SimpleRene.

labordep commented 3 months ago

Ok, it's looks like an architectural feature for Pyramidion, isn't it? I like principles.

labordep commented 2 months ago

Thanks @guillep, we will use it!