Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Begin Your Skyscraper

by Tux (Canon)
on Aug 11, 2011 at 16:36 UTC ( [id://919910]=note: print w/replies, xml ) Need Help??


in reply to Re: Begin Your Skyscraper
in thread Begin Your Skyscraper

I'd absolutely not proclaim Wx to be better than Tk. They both serve a different public, both in end-user as in developer.

I myself don't like Wx at all: I cannot get all the needed dependencies to compile/test/run on the operating systems I need a GUI on: HP-UX, AIX are amongst them. Tk builds out of the box: no dependencies needed whatsoever.

I can have a small application up and running in Tk within minutes. And it looks nice. At least nice enough for the purpose. With Wx I need a whole lot more time for the design, and even then - to my eyes - it doesn't even look "better". If GUI/functionality compose time in Tk is estimated to 30/60 percent of my precious time, in Wx I'm likely to go to 80/20 percent. And I don't like Wx' documentation nor the overly complex OO style.

I really absolutely do not care about the fact that you can make your GUI app look "native" with Wx. Most people indeed say that Wx is "beautiful", and that Tk is (butt) ugly. I do not agree at all, but that is a personal opinion. The fact that Tk looks like Tk everywhere is a pré!

So "better" totally depends on what you want to achieve, and if it is possible at all.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^3: Begin Your Skyscraper
by scorpio17 (Canon) on Aug 11, 2011 at 21:21 UTC
    I didn't say wxPerl was "better" than Perl/Tk... I said I like it better. On most linux distributions, installation is as easy as "apt-get install wxperl". For windows, there are pre-built binaries available here:
    http://www.wxperl.co.uk/
    There are tools, like wxGlade, that make building your GUI a mostly drag-n-drop exercise. So, it is also possible to have a small app up and running in minutes with wxPerl.

    The OP listed learning Perl/Tk as an essential step, as if it were the ONLY possible solution for GUIs with perl, and that's clearly not the case. There's also PerlQt. Like all things perl, TMTOWTDI.

      You're absolutely right. I indeed misread "like better" as "is better". And because I like Tk that much, I immediately jumped in.

      runrig already mentioned that the Learning/Tk book is kinda useless and Mastering Perl/Tk is much better. I wholeheartedly agree. Though I'd like to add that after reading the latter, having the perl/Tk quick reference guide available is darn handy.

      ... and Glib and Gtk2 and X11::Protocol all to get into graphical front ends. Not really for starting out simple GUI apps though.


      Enjoy, Have FUN! H.Merijn
Re^3: Begin Your Skyscraper
by Anonymous Monk on Aug 12, 2011 at 00:55 UTC

    I'd absolutely not proclaim Wx to be better than Tk.

    Read carefully

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919910]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-19 00:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found