Am 27.01.2011 21:44, schrieb Rob Sciuk: > > > On Fri, 28 Jan 2011, arnulf wrote: > >> Date: Fri, 28 Jan 2011 11:33:06 +0100 >> From: arnulf <[email protected]> >> To: [email protected] >> Subject: Re: Rivet namespace and Rivet package >> >> just a comment to Massimo's question, sorry there is no dowload yet, >> as I am still in a pre alpha state with ATWF. >> >> ATM I am thinking about having "Reporting Tools With TCL" as the first >> "real" application to run with ATWF and doing so I found I should have >> an interface language like XUL or XAML or some other XML kind of thing >> for describing the widgets and actions etc. for a GUI using CSS files >> for the look and feel and a small css interpreter, to do the configure >> for a Tcl/TK GUI and perhaps to have a similar functionality based on >> the same interface using javascript or .... for supporting browsers on >> the other hand. I have also looked at xml2gui and am still in the >> brain storming phase. >> >> So right now my stack of work to be done is still increasing instead >> of decreasing, but I hope to soon stop at least the increasing. >> >> Arnulf > > If I can suay you to *NOT* use xml, and instead, use a JSON like > language. It is *SO* easy to parse ... uses very few terminals, and like > TCL, is whitespace delimited. > > I've attached a JSON like scripting example from which I generate SQL > DDL for a database independant schema tool ... such a schema can also be > used to generate forms with a rich data definition language ... and > these can be used to generate tcl/PHP/or whatever ... no XSLT, no > XML-schema, no complicated parsing ... but very expressive nonetheless .... > > Rob Sciuk > Thanks for the input, I will think about that.
Looks like JSON like stuff can be easily converted to dicts in TCL (much easier than XML with a DOM tree) :-) Arnulf --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
