in reply to TK Usage

Well, the only Tk I've ever used was for a tool I'm writing to simplify the process of updating my blog, RSS, and LiveJournal. Doing that without a GUI just didn't seem practical or smart. The only other time I used Tk was to solve some other monk's Tk-related problem. Most things I use perl for either do not require a GUI at all, or are web apps (and use the browser as a GUI, via CGI).


--
Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Replies are listed 'Best First'.
Re^2: TK Usage
by erniep (Sexton) on Feb 11, 2005 at 12:46 UTC
    TK seems to be a nice to have but no real value in applications. I agree with Wolfger when he says he uses the browser as GUI via CGI. Once again, thanks Monks for all the good advise and help.
      You just havn't figured Tk out yet. For example, if you want to maintain state, between server and client, browser based apps are harder to use. Also why bring the server and browser overhead into an application that is run solely on a local machine.

      What happens is that people get into Perl, thru using CGI, and get used to that technique. Then they want to expand into other types of GUI programming; and at that point they see they have 2 choices...learn Tk or Gtk or Wx to make real stand-alone GUI's , or they can work out hacks to simulate GUI's thru a browser-server pair. They tend to go with browser-server pair because it involves less learning.

      It is wrong for you to say that Tk has no real value in applications....what you mean to say is "you don't want to spend the time to learn it".

      If you want an example of a good use for Tk(Gtk,Wx), make a standalone GUI rolodex ( with photos) of business contacts and friends, using sqlite as the database.(Without the overhead of a server and huge browser)


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