[Mono-list] Building a layer beetween buisiness logic and GUI

Gustavo Garcia Bernardo ggb@tid.es
Tue, 27 May 2003 10:11:18 +0200


XUL is a XML UI definition, that looks like what you need.
You can see more information about it in mozilla project.

G.

-----Mensaje original-----
De: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]En nombre de Joe Mozelesky
Enviado el: lunes, 26 de mayo de 2003 21:13
Para: 'Dominik Fretz'
CC: mono-list@lists.ximian.com
Asunto: RE: [Mono-list] Building a layer beetween buisiness logic and
GUI


#WT sounds interesting, I will have a look at it.

With regards to web forms, I wouldn't imagine one would bind a widget
toolkit to a web form.

Instead I was thinking more along the lines of, reading an XML file that
defines the UI configuration in some generic sense.  If the application
is running on the web, then generate the appropriate UI using web
controls and wire the proper event handlers up.

This is what the article was describing at the original CodeProject link
I posted.

For something more advanced such as a graphics intensive program, or for
instance a game, it wouldn't make sense.  But for a data-entry intensive
business application which relies mostly on data entry forms and
datagrids, I think it makes sense.

Something I was thinking about is the feasibility of reading a Glade XML
GUI definition file and generating a web forms interface.  Obviously you
would only be able to support a subset of "controls" like the textbox,
dropdown, etc.  This would allow you to use one tool to build a UI once
and then reuse it to target ASP.NET.

Joe


-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Dominik Fretz
Sent: Friday, May 23, 2003 4:54 AM
To: Joe Mozelesky
Cc: mono-list@ximian.com
Subject: Re: [Mono-list] Building a layer beetween buisiness logic and
GUI

Hi

Joe Mozelesky wrote:
[snip]
> But I think to have an adapter that can take some unified UI spec
file,
> and generate QT, _or_ SWF, _or_ GTK# user interfaces dynamically as
Jorg
> would like to do, is a pretty big project.
> [snip]

Probbably the #WT library could be intressting for you. This is a Port 
of the SWT (Standard Widget Toolkit from the eclipse project written in 
java).
We do the port to eas the porting of SharpDevelop.

#WT (and SWT) use native widgets on each platform. On Windows, it does 
API calls to the windows dll's on Linux it uses native calls to GTK (or 
probbably QT, but QT isn't portet to #WT yet.

Webforms arent possible with this. And I'm note shure if there is any 
chance to do a binding to webforms. (Another question is, if there is a 
chance to create a libraray that display's web-frontends and gui 
frontands with the same code, web applications need to have other 
fundamentials than gui application I think.


for more information about #wt have a look at: www.sharpwt.net nad the 
sd-mono-port list @ ximian.

Dminik



_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list