Nice TWiki > Dev > FeatureProposals > TreeDataConstruction (r1.3) TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Dev . { Changes | Index | Search | Go }
An interresting idea from the Groovy language is to have an easy way to create tree like data as xml, html and user interfaces.

More info: http://groovy.codehaus.org/markup.html

-- ArjanB - 08 Jan 2004

Erik Meijer using declaritive XML markup for GUIs inside a program and using declaritive XML markup for arbitrary types

public class Contact {
  sequence {
    string Name;
    string? Email;
  }
}

public class Test {
  static void Main() {
    Contacts cs = <Contacts> 
                    <Contact>
                      <Name>Erik Meijer</Name>
                      <Email>{"emeijer"
                              +"@"+
                             "microsoft.com"}
                      </Email>
                    </Contact>
                    <Contact>
                      <Name>Dare Obasanjo</Name>
                    </Contact>
                  </Contacts>;
...
  }
}
-- IsaacGouy - 09 Jan 2004

I like the idea of a language that understands xml and can express and check types for it. But imho xml literals are just ugly. Humans should not have to grok XML

Though most things(like gui's) could be written in some xml format, it's better to have some syntax that's more general and easier to read.

Topic TreeDataConstruction . { Edit | Attach | Ref-By | Printable | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.3 - 09 Jan 2004 - 19:57 GMT - ArjanB
Parents: WebHome > FeatureProposals
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.