rir has asked for the wisdom of the Perl Monks concerning the following question:

Next is the user interface; something I know small. I ask you to point me at existing samples of code demonstrating robust database transaction user interfaces with error handling.

Update: I am looking for examples of what you consider good code for GUI's to handle database transactions. My request was meant to go far beyond just recommendations of GUI toolkits. I am looking for examples of their usage dealing with database failures of various sorts and what states in the UI follow therefrom.

I am not too interested in web interfaces at present because I haven't seen any web entry forms that seem suitable for busy data entry where a moderate learning curve is acceptable. Correct me as necessary.

Raw candidates, so far, for toolkits are Tk, Wx and Gtk; and I am open to other recommendations.

Be well.

Replies are listed 'Best First'.
Re: Transaction screens
by CountZero (Bishop) on Aug 14, 2004 at 17:53 UTC
    If you don't mind to deal with the database through a webserver, Maypole seems to fit your bill (if you can get it running - I have some trouble in getting it to work on Win32 and Apache2).

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re: Transaction screens
by hanenkamp (Pilgrim) on Aug 15, 2004 at 14:24 UTC

    Oh gosh, now that's a can of worms. It depends on what you want the interface to look like and where you want to take it. As far as I'm concerned, all of these interfaces are just fine.

    Tk looks the dumbest (IMO), but is also the most portable (I think).

    Wx is explicitly designed to be useful on multiple platforms---sometimes having multiple destination platforms in a single environment. However, not being linked to a specific GUI toolkit, it will look more or less crusty depending on the platform.

    Gtk will probably look the best of all. It is linked to a single front-end (Gtk+), but your portability is limited. There is Gtk+ for Windows and Mac, but I've had mixed success with these.