Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Creating Win32 User Interfaces with Perl

by JamesNC (Chaplain)
on Jul 06, 2004 at 15:08 UTC ( #372121=note: print w/replies, xml ) Need Help??

in reply to Creating Win32 User Interfaces with Perl

In addition to Tk, and Win32::Gui, there is also Gtk.

I have become a big fan of WxPerl which I am switching over to from being a long time advocate of Tk. WxPerl Home - Win32 Binaries

I would use a CGI based app if I wanted to deploy a front-end to a database. If you wanted to run CGI apps, then you should indeed install a web service on your XP box, like Apache, MS-IIS.

I am not a fan of using the console for tasks such as this on XP. And straight from the docs on Win32::Console::ANSI Windows NT/2000/XP does not support ANSI escape sequences in Win32 Console applications. This module emulates an ANSI console for the script which uses it. So, don't even bother going there.

  • Comment on Re: Creating Win32 User Interfaces with Perl

Replies are listed 'Best First'.
Re^2: Creating Win32 User Interfaces with Perl
by gellyfish (Monsignor) on Jul 06, 2004 at 15:37 UTC

    I would use a CGI based app if I wanted to deploy a front-end to a database

    Why? diggemz specifically said "The system is not required to be web capable." - a web based application requires you to jump through hoops to manage state and maintain database connections, and you have a rather impoverished set of controls available. A real GUI client application will have none of the above problems and will (in a well designed program) win in usability terms.


      Why? Lots of reasons, here are a few:
      1. Only have to change code in one place rather than many (Which is what I want when I plan to quickly deploy - and add new features in response to a end users requirements.)
      2. Easier to fix bugs and add features in one place rather than many.
      3. HTML is designed to display information across platforms.
      4. I don't have to worry about Perl being on someones machine or about building a executable or about their environment.
      5. I most likely don't have to train somone how to use the Web based application.
      6. I can more easily limit access to the information because that capability is built into most web servers.
      7. Implementation would be fast and flexible.
      Honestly, with CSS, web pages can be very sophisticated and look great.
      I simply offered my opinion based on my experiences with doing it both ways. He said it was not required, he didn't say, it was not acceptable to use the web.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2021-04-15 09:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found