Just to expand on what derby said, It is going to depend on the platform you need to support.
Is this going to be a client program that is copied around to users machines?
Will it be for Windows, Xwindows, command line, Web?
Each of these will make a huge difference in the style of program you will be writing. Personally, if more than one platform is involved, go web based. Even if there isn't more than one platform now, there might be later. Password protect the site, and then it can be accessed from anywhere that has a net connection and a browser.
If it will be installed on each users machine, then it will most likely require some sort of network support in order to perform it's action on a remote machine. In a web based GUI, you don't have all of the control of a local program. It's hard to do things like populating menus based on actions, and changing other elements of the GUI on the fly. It can be done, but requires page reloads to change the content. These may, or may not play a roll in your particular case. Just something to keep in mind. | [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
Personally, I like Perl/Tk. I have yet to use it in a production piece, but have done a few scripts just to learn how. It's easy to use and the docs are plenty. You have find out all about it at
perltk.org. There is a good tutorial on perl.com about GUI programming with Tk as well. The screenshots are from a ActiveState (Windows) installation, but the code should work regardless.
| [reply] [Watch: Dir/Any] |
Well you could use on of the several cpan graphic toolkits (Tk, Gtk, etc) or bypass all that and make it web based.
-derby | [reply] [Watch: Dir/Any] |
If erasei's comments above haven't made you go with the web (and his points are excellent), then I would highly recommend Tk.
I've been doing gui programming since the early days of X (and actually before that in curses). Tk is my favorite gui toolkit by far.
I started using Tk when it was part of Tcl. But, the toolkit really shines in Perl. It is very flexible, powerful and expressive. And if it doesn't do what you want, it is easy to extend. Like Perl it makes simple things easy, and hard things possible.
It would recommend the 2 O'Reilly books on Tk to start with. And if you get stuck, there are a lot of people here to answer questions.
BTW, with a few minor hiccups, I've found that Tk works well on Windows platforms, not just on unix.
-pete
"Pain heals. Chicks dig scars. Glory lasts forever." | [reply] [Watch: Dir/Any] |