[Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread Patai Gergely
Hi all,

I intend to start coding the UI of the heap profiling toolkit I'm
working on [1] soon. I'd be happy to get some advice on choosing the
right windowing toolkit for this task. The main requirements are:

- portability and native look  feel if possible
- easy to distribute executables under Windows
- relatively slow code rot
- sane interface that doesn't need wild workarounds even if what I'm
doing is not trivial or elementary
- trouble-free source installation in case someone wants to contribute

As I see, at the moment there's no serious alternative besides GTK and
wx, so my question is which do you think is better suited to this task?
I have absolutely no development experience with GTK, and while I used a
bit of wx in the past (in C++), I'm not really familiar with it either,
especially not the Haskell bindings. I noticed that installing the wx
binding with user rights doesn't seem to work directly from hackage
(doesn't pass --user to ghc-pkg?), but it looks like a problem that can
be solved with some hand editing. I'm a bit more afraid of setting up a
development environment under Windows; is there any major pain involved
with either of these libraries if I use MinGW?

And how about their interface? Is there any significant difference? I'd
especially like to hear the opinion of someone who's reasonably familiar
with both.

Thanks,

Gergely

[1] http://code.google.com/p/hp2any/

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread Alberto G. Corona
Web - HTML

2009/6/17 Patai Gergely patai_gerg...@fastmail.fm

 Hi all,

 I intend to start coding the UI of the heap profiling toolkit I'm
 working on [1] soon. I'd be happy to get some advice on choosing the
 right windowing toolkit for this task. The main requirements are:

 - portability and native look  feel if possible
 - easy to distribute executables under Windows
 - relatively slow code rot
 - sane interface that doesn't need wild workarounds even if what I'm
 doing is not trivial or elementary
 - trouble-free source installation in case someone wants to contribute

 As I see, at the moment there's no serious alternative besides GTK and
 wx, so my question is which do you think is better suited to this task?
 I have absolutely no development experience with GTK, and while I used a
 bit of wx in the past (in C++), I'm not really familiar with it either,
 especially not the Haskell bindings. I noticed that installing the wx
 binding with user rights doesn't seem to work directly from hackage
 (doesn't pass --user to ghc-pkg?), but it looks like a problem that can
 be solved with some hand editing. I'm a bit more afraid of setting up a
 development environment under Windows; is there any major pain involved
 with either of these libraries if I use MinGW?

 And how about their interface? Is there any significant difference? I'd
 especially like to hear the opinion of someone who's reasonably familiar
 with both.

 Thanks,

 Gergely

 [1] http://code.google.com/p/hp2any/

 --
 http://www.fastmail.fm - Or how I learned to stop worrying and
  love email again

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread Magnus Therning
2009/6/17 Alberto G. Corona agocor...@gmail.com:
 Web - HTML

I'd agree with that.  It would be really nice for X-platform.  Maybe
it's possible to use JQuery (or Flapjax) to get some nice
dynamic/interacitivity?

/M

-- 
Magnus Therning(OpenPGP: 0xAB4DFBA4)
magnus@therning.org  Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread minh thu
2009/6/17 Magnus Therning mag...@therning.org:
 2009/6/17 Alberto G. Corona agocor...@gmail.com:
 Web - HTML

 I'd agree with that.  It would be really nice for X-platform.  Maybe
 it's possible to use JQuery (or Flapjax) to get some nice
 dynamic/interacitivity?

Does someone know if it possible to make an application which embed webkit with:
- webkit used for rendering and running javascript
- javascript function calling haskell code
?

Cheers,
Thu
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread Patai Gergely
  Web - HTML
 
 I'd agree with that.  It would be really nice for X-platform.  Maybe
 it's possible to use JQuery (or Flapjax) to get some nice
 dynamic/interacitivity?
I'm not sure if a web interface is really a good fit here, but I'll
think about it.

Gergely

-- 
http://www.fastmail.fm - Access all of your messages and folders
  wherever you are

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Which windowing toolkit to use?

2009-06-17 Thread Alberto G. Corona
I use Haskell server pages and HJScript. HJScript includes ajax
capabilities. and embed haskell code in HTML much like ASP and JSP embed VB
and Java.
The client side haskell code is converted to javascript and with ajax you
can call Haskell server code.

2009/6/17 minh thu not...@gmail.com

 2009/6/17 Magnus Therning mag...@therning.org:
  2009/6/17 Alberto G. Corona agocor...@gmail.com:
  Web - HTML
 
  I'd agree with that.  It would be really nice for X-platform.  Maybe
  it's possible to use JQuery (or Flapjax) to get some nice
  dynamic/interacitivity?

 Does someone know if it possible to make an application which embed webkit
 with:
 - webkit used for rendering and running javascript
 - javascript function calling haskell code
 ?

 Cheers,
 Thu

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe