Re: Making UI creation easier?

Dean Arnold <[email protected]>
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
Ala Qumsieh wrote:
> --- gerardo castro <[email protected]>
> wrote:
> 
> 
>>So I think it is posible to make an intermediate
>>language to create
>>the UI (I know there are IDES like komodo, but they
>>are harder). I
>>thougt maybe an html like language could be cool and
>>give speed.
> 
> 
> Good idea. One of my goals for ZooZ (a Perl/Tk GUI
> builder I'm working on) is to write out projects in
> xml format instead of some arbitrary format I made up.
> Then, they would look almost exactly like what you
> have, but will also contain more info like packing
> options, etc ...
> 
> Is it easier? For parsing by another program, yes. For
> coding it yourself, I'm not so sure.
> 
> --Ala
> 
> 

For the OP:

IMO, I'm not all that certain an XML solution is any easier
than Perl/Tk (or wxPerl, or Win32::GUI, or anything else).
Yes, pTk definitely has a sigmoid learning curve, but the
excellent MPTK (www.oreilly.com/catalog/mastperltk/)
will go a long way toward getting you up the incline
(an updated 2nd edition would be much welcomed, Mssr. Lidie!).

That being said, I'll suggest a starting point:
http://xulplanet.com

For Ala:

At the risk of starting flames, unless your XML schema
conforms to some sort of "standard" (e.g., XUL), doesn't
it run the risk of being just as "arbitrary" as
just dumping Perl/Tk code ?

On the other hand, Mssr. Rezic seems adept at generating
XSLT's  to convert SVG to Perl/Tk code, so maybe
there's some merit...perhaps modifying Zooz to generate
XUL, and then get Slaven to write you a nice XSLT to generate
the Perl (sorry, I'm being evil >8^). Voila, you get a dual
purpose GUI builder (I vaguely recall a SourceForge
project started to process XUL via Perl, but can't seem
to find the link now...)

Dean Arnold
Presicient Corp.
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.