views:

198

answers:

4

Basically, I'm looking for a least common denominator declarative GUI language that would be perfectly suitable for rendering with JavaScript to HTML/CSS, with Python to wxPython and with C# to WinForms... emphasis on the least common denominator. Otherwise, I'm perfectly aware this is almost impossible. Basically, JSON for declarative GUIs rather than data.

Oh yeah, and the real kicker: no XML. Period. Ideally, the syntax would be something like Markdown where it doesn't look like code.

If you don't know of any such thing, you can just post some ideas on what you think it should look like and how you think it should (or could) work, because I was planning on creating one myself. I'm just making sure I'm not reinventing the wheel.

A: 

Well, HTML kind of aspires to that. How about wiki markup?

wallyk
HTML is essentially XML and the problem with wiki markup languages is that they don't include things like text boxes and drop-down boxes and buttons, nor ways to lay out forms usually.
Daniel Straight
A: 

Have you seen Snow?

whybird
+1  A: 

Qooxdoo is an awesome GUI technology for the web. There is a new serialization project called Tartan Blueprint that allows the generation of Qooxdoo client apps from serialized JSON. Its pure JSON and OO javascript. No XML. The JSON can be generated by hand or by any code that can generate valid JSON. Take a look...

The announcement: http://news.qooxdoo.org/the-week-in-qooxdoo-2009-10-02

PlaidFan
Interesting, but I don't see how this is language and platform agnostic. Can I take this Blueprint JSON and turn it into a Python app?
Daniel Straight
Oh sorry. I thought you were looking for an easy way to generate GUIs from python. Basically you can dump a dict into json using something like SimpleJson and send into blueprint. But, you do need to build the server side part that generates the dict. Blueprint has a nested object structure so the generation of json can be accomplished using recursive functions quite easily.
PlaidFan
A: 

I think it's safe to say after 3 months that the answer is no.

Daniel Straight