http://www.perlmonks.org?node_id=972962


in reply to need a popup gui stdin

To be honest, I don't think teaching newbie Tk is a good idea.
  1. If platform is Linux, using Gtk2 coz of Glade.
  2. if platform is Win$, using Wx coz Wxdesigner
  3. or you can even use C# form with a built-in perl interpreter.
  4. My experience is:

    Never use a GUI module without a usable RAD tool, unless you are sure you would use it often in next 10 years. Coz you have to invest many in this module to be familiar with its grammar, tricks or other details. you can do such effort on html/css, coz it seems not to be dead in next 5 years.





    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Replies are listed 'Best First'.
Re^2: need a popup gui stdin
by zentara (Archbishop) on May 29, 2012 at 13:12 UTC
    To be honest, I don't think teaching newbie Tk is a good idea..... Never use a GUI module without a usable RAD tool,

    I think your advice is bad. I think YOU want to avoid learning the true nature of GUI programming, so you need a RAD tool, so you advise this to everyone else. You are just lazy.

    Anyone with any knowledge of GUI's will tell you you are better off avoiding RAD tools because of the incomprehensible boilerplate code it produces. Try debugging a difficult glitch in boilerplate code, and you will wish a real programmer wrote the code with sensible variable names.

    As for teaching newbies, Tk's documentation, tutorials and books far surpass anything Wx has, not to mention the rediculous object-oriented layer which Wx imposes on you, just to pop open a few windows.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      not to mention the rediculous object-oriented layer which Wx imposes on you, just to pop open a few windows.

      :| It sure beats Tk.pm's under used and cuseless object-oriented layer -- thats why all your programs are closure closure closure :D

      Also, you responded to me not xiaoyafeng :)

Re^2: need a popup gui stdin
by Anonymous Monk on May 29, 2012 at 10:48 UTC