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.
Jochem Berndsen | [email protected] | [email protected]çåçé.com
Haskell-Cafe mailing list