<div dir="auto">I'm very pleased with the approach we took in <a href="http://github.com/sigscale/ocs">github.com/sigscale/ocs</a> where we implemented simple web components using Polymer <iron-ajax> over our standard REST APIs. It's a really low impedance match if you have an "API first" design.<div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 7, 2017 18:34,  <<a href="mailto:arif@riseup.net">arif@riseup.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I have been using wxErlang on some projects and I don't find it too<br>
hard. I make the GUI in separate processes and communicate with the<br>
application using regular erlang message passing.<br>
Using the wx_object, it is practically a breeze. It is like programming<br>
a gen_server. I even run the GUI processes supervised, to allow me to<br>
"let it crash".<br>
Also, you can use wxFormBuilder to do the layout and use the generated<br>
PHP or LUA code to figure out what you need to do in wxErlang. I suppose<br>
you could even write a parser to generate your erlang code from those.<br>
So I am curious. What is that you find so hard about it? And what makes<br>
it easier with C# or the like?<br>
Thanks<br>
Arif<br>
<br>
<br>
Date: Wed, 6 Dec 2017 15:08:39 -0500<br>
From: "Alan Gingras" <<a href="mailto:alangingras@comcast.net">alangingras@comcast.net</a>><br>
To: "'Alex S.'" <<a href="mailto:alex0player@gmail.com">alex0player@gmail.com</a>><br>
Cc: 'Erlang' <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br>
Subject: Re: [erlang-questions] GUI development with Erlang<br>
Message-ID: <002901d36ece$026702a0$<wbr>073507e0$@<a href="http://comcast.net" rel="noreferrer" target="_blank">comcast.net</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Thanks Alex.  I had thought of that but was trying to make this a pure<br>
Erlang application.  This is most likely the approach I will end up<br>
taking unless I decide to pursue wxErlang, but that is probably a little<br>
unlikely.<br>
<br>
<br>
From: Alex S. [mailto:<a href="mailto:alex0player@gmail.com">alex0player@gmail.com</a>]<br>
Sent: Tuesday, December 05, 2017 03:08<br>
To: Alan Gingras <<a href="mailto:alangingras@comcast.net">alangingras@comcast.net</a>><br>
Cc: Erlang <<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>><br>
Subject: Re: [erlang-questions] GUI development with Erlang<br>
<br>
For what it's worth, you can always implement your view and controller<br>
in something like C#/F#, and your model in Erlang, and hook them up via<br>
TCP. Alternatively, there was an Erlang-toF# compiler floating around I<br>
believe.<br>
<br>
<br>
2017-12-03 22:43 GMT+03:00 Alan Gingras <<a href="mailto:alangingras@comcast.net">alangingras@comcast.net</a><br>
<mailto:<a href="mailto:alangingras@comcast.net">alangingras@comcast.<wbr>net</a>> >:<br>
<br>
Has anyone tried using Windows Forms (.net) with Erlang?  This would be<br>
in a similar fashion to way Python can use Windows Forms.  On Linux I<br>
believe this would be Mono<br>
(<a href="http://www.mono-project.com/docs/gui/winforms/" rel="noreferrer" target="_blank">http://www.mono-project.com/<wbr>docs/gui/winforms/</a>).  Basically I think I?m<br>
looking for something similar to Python?s ?import? and C#?s ?using?<br>
features.  If no one has anything, any hints on how a feature like this<br>
might be implemented.<br>
<br>
Basically, I have been working on implementing genetic programming in<br>
Erlang and would like to provide a GUI front end.  The WxWidgets front<br>
end that comes with Erlang is difficult at best.  I?ve used several<br>
different GUI kits on *nix and Windows platforms but WxWidgets seems the<br>
most difficult for me.  So I?m trying to see what else is available.  I<br>
followed Joe Armstrong?s quest earlier this year and didn?t see where he<br>
came up with anything.<br>
<br>
Thanks.<br>
<br>
Alan<br>
<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div></div>