Crazy Lack of Sleep thought - Generic UI module

[email protected] (Michael Cummings)
Newsgroups perl.p5ee
Message-ID <[email protected]>
And yet another lurker steps out from the brush (never
you mind what we lurkers actually do in the brush)...

The posts about the HTML widget got me thinking this
morning...did a quick search on CPAN, saw nothing,
looked through the P5EE projects, nothing quite up to
my thought, so here it is...if you know of a project
that is actually doing this, let me know, please! If
not, maybe this is something that is just right for
p5ee? And if that's a double no, well....

My thought was a simple one, so to speak, never mind
the coding involved. A generic UI module, invoked like
$new_something = UI::new(html), or $new_something =
UI::new(gtk), etc (syntax not the point here, I know
that that's bad even for pseudo code), but the idea is
a generic UI that takes a common set of functions and
produces at least similar results for a wide variety
of interface types. That way you could develop an app,
use this generic UI, and with one incoming parameter
(html, tk, gtk, curses, what have you) you would have
an interface that met your needs without an recoding.
Yeah, the backend modules would be huge, rough, and
very sticky, but the results might warrant that. And
in my "enterprise" experiences, that would be a
wonderful thing, the ability to display a project in a
large variety of gui types.

OK, like the title says, this is born of a lack of
sleep, so if this is silly, feel free to say so (but
keep the flames down to a mild roar, ok?). Thanks all,

Mike

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.