DBI is a programming related solution to a programming related problem. Good.

A similar GUI system would be a programming related solution to a user interface design related problem. Bad.

Your program might be cross platform. But your users aren't.

For example, if they boot Windows they expect a Windows GUI. Actually, the deserve a Windows GUI. Anything else will reflect badly on your program, however unfair that is.

The problem with a cross platform system is the details. Everything has to be right in a good GUI, down to the last pixel.

Like Masem said, separating logic from presentation is a very good way to go. In some ways it will make your logic more complex (program flow will jump between classes where it previously didn't), in some ways it will make it more clean (things that belong together will be together). It will surely force you to think more about it which is probably a good thing.

It is easier if you don't mix UI metaphors (like one Command Line Interface and one GUI). Tk and Win32::GUI generally have more in common than they have with a batch style program.

/J


In reply to Re: User Interfaces by jplindstrom
in thread User Interfaces by petesmiley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.