Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: GUI Opinion

by erasei (Pilgrim)
on Jul 24, 2002 at 13:26 UTC ( [id://184821]=note: print w/replies, xml ) Need Help??


in reply to GUI Opinion

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.

Replies are listed 'Best First'.
Re: Re: GUI Opinion
by RollyGuy (Chaplain) on Jul 24, 2002 at 13:40 UTC
    I see that I didn't include enough information in my question -- sorry (I'm a bit new). We are using a networked Linux envrionment so I won't have to worry about different platforms or machines. The program is not a client, just a standalone that currently accepts file input. I wanted to try to go the extra mile and add a GUI.

    A web-based (unfortunately) will not be the best solution here. I know that I need a graphics package and really just wanted to know if the Monks had a favorite package. I don't know the advantages/disadvantages of any, so I was trying to save myself some time in investigating that.

      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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found