[Haskell-cafe] Design question, HTML for GUIs?
Jochem Berndsen
jochem at functor.nl
Sun Jan 10 14:00:51 EST 2010
Günther Schmidt wrote:
> as probably most people I find the GUI part of any application to be the
> hardest part.
>
> It just occurred to me that I *could* write my wxHaskell desktop
> application as a web app too.
>
> When the app starts, a haskell web server start listening on localhost
> port 8080 for example and I fire up a browser to page localhost:8080
> without the user actually knowing too much about it.
>
> Is that a totally stupid idea?
No, this is not (necessarily) a stupid idea. In fact it might be a good
idea in a lot of cases.
A downside is, that you lose the functionality for user access control
provided by the OS on multi-user machines (i.e., other users working on
the same machine can connect to localhost:8080 too). This might or might
not be a concern for you.
Regards, Jochem
--
Jochem Berndsen | jochem at functor.nl | jochem@牛在田里.com
More information about the Haskell-Cafe
mailing list