Re: Crazy Lack of Sleep thought - Generic UI module

[email protected] (Matt Sergeant)
Newsgroups perl.p5ee
Message-ID <[email protected]>
On Fri, 22 Mar 2002, Michael Cummings wrote:

> 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.

You could use XWT (http://www.xwt.org) in combination with server side
XSLT (e.g. AxKit) to deliver to both HTML and GUI clients in a cross
platform manner. Is that the sort of thing you were thinking of? Or does
it have to be generated directly from perl?

-- 
<!-- Matt -->
<:->Get a smart net</:->
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.