Re: Clojure for Desktop UI Design Application

2015-06-27 Thread Efrain Bergillos
I have been working on a desktop App for the last few months and I have not got many problems with the architecture and isolation of the views. In my young blog, I have few posts of how to set up and launch the JavaFX App. I also have a MVVM and the conventions of how to compose each layer

Re: Clojure for Desktop UI Design Application

2015-06-02 Thread dilettante . coder
I'm a newbie in the JVM/Clojure world, and a past user of C#/WPF. I had similar questions for a JVM desktop application, and came upon this interesting project: http://open-dolphin.org/dolphin_website/Home.html. The notion here is that you mutate very simple, generic presentation models at th

Re: Clojure for Desktop UI Design Application

2015-01-18 Thread juan.facorro
Hi Timothy, I took an extremely similar approach in this project using Swing as the underlying UI toolkit. Components can be described using a hiccup like syntax, although they are actually represented as maps in the end. Since the UI is mutable by nat

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
IntelliJ is swing! Well, knock me other with a feather :). Still wouldn't want to go anywhere near building a Swing app though :). On 14 Jan 2015 01:36, "Colin Fleming" wrote: > On 14 January 2015 at 05:50, Colin Yates wrote: > >> My evolution of Java UI was swing>JSP>struts>JSF>velocity then on

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Fleming
On 14 January 2015 at 05:50, Colin Yates wrote: > My evolution of Java UI was swing>JSP>struts>JSF>velocity then onto > JavaScript/ExtJS. My instinct now when I hear the words "Java" and > "UI" is to run a mile :). > This is where I point out that you're currently using a Swing app every day :-)

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mikera
I'd be pretty interested in this too. Though not quite enough to write it myself (I've made "good enough" interfaces with Swing interop). The thought occurs that there may be quite a bit of common code that could be shared with respect to diffing / cursors etc. that would work equally well for

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread TP
On Tue, Jan 13, 2015 at 10:16 AM, Mike Haney wrote: > Anyway, given what I know today If I had to write a desktop GUI, my first > instinct would be Clojurescript+node-webkit Since I'm still investigating Clojure, my first instinct when writing a desktop GUI --- similar to what Timothy Baldridge

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread blake
Yeah, Adobe Flex can do that, too, with all the same caveats. On Tue, Jan 13, 2015 at 12:09 PM, Timothy Baldridge wrote: > Before coming to Clojure I did 2 years of work on WPF/Silverlight apps, > and let me say what those platforms offer blows the web stuff out of the > water. Yes it's not cros

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Timothy Baldridge
Before coming to Clojure I did 2 years of work on WPF/Silverlight apps, and let me say what those platforms offer blows the web stuff out of the water. Yes it's not cross-platform, but the ability to describe a layout with data is unparalleled in the web world. I could sit down, and have a UI to a

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Gary Trakhman
On Tue Jan 13 2015 at 2:05:03 PM Christopher Small wrote: > > On the other hand, while the web app route may feel a bit overwhelming, it > really is worth learning. Once you program web, you can deliver to any > platform. It's ubiquitous. And once you get the hang of it, the paradigm > isn't reall

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Christopher Small
Something else to consider... If you really want to avoid doing a web app with all the complexity of server code, client code, html, css, database, etc, then you might want to look into [quil](https://github.com/quil/quil). It's a clojure wrapper of the processing library for doing data visuali

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Jason Lewis
If you're looking for functional reactive programming in Clojure (rather than going web-based), there's a great library for Clojure bindings to RxJava: https://github.com/ReactiveX/RxClojure Jason Lewis vox 410.428.0253 twitter @canweriotnow blog http://decomplecting.org else http:/

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
My evolution is similar to Colin's, with more SWT than Swing. And I understand where you're coming from - did Java for 15 years and C++ before that. I didn't even really learn about functional programming until about 3 years ago, and after an aborted dive into learning Scala I switched to Clo

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Fluid Dynamics
On Tuesday, January 13, 2015 at 10:15:26 AM UTC-5, Colin Yates wrote: > > Wow, there is a lot to deal with :), so let me throw out some ideas: > - have you considered building a web-app instead of a desktop app? If so, > have a look at one of the react based languages (om or reagent would be my

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Mike Haney
I know it seems overwhelming, and if you try to keep up with all the latest "cool" libraries, -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderate

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Gary Trakhman
You made the analogy to games/graphics, React model treats the DOM akin to a graphics buffer, and they themselves present it as similar to the doom3 architecture. In practice, it feels a lot like a scene graph, with the update/render methods on every component. I don't know how easy it is to fit

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
One lesson I would share is that things are usually much quicker than we expect. Always prove it is too slow before believing your intuition. On 13 January 2015 at 16:28, MS <5lvqbw...@sneakemail.com> wrote: > If I come up with anything that might usefully tie Clojure data structures > to JavaFX U

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
My evolution of Java UI was swing>JSP>struts>JSF>velocity then onto JavaScript/ExtJS. My instinct now when I hear the words "Java" and "UI" is to run a mile :). I haven't looked at JavaFX (I think I had bailed before that appeared). On 13 January 2015 at 16:05, Timothy Baldridge wrote: > I've l

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread MS
If I come up with anything that might usefully tie Clojure data structures to JavaFX UI elements in a clean way, I may release it on github. For now it's just one or two .clj files with all my random monkey-coding, using lots of half-examples from various sources, which is pretty much how I le

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread zirkonit
What about node-webkit + Clojurescript? I think it would be ideal environment for desktop GUI? On Tuesday, January 13, 2015 at 7:05:40 PM UTC+3, tbc++ wrote: > > I've long thought that the Clojure world needs a JavaFX/React hybrid. > JavaFX2's API is extremely consistent, making it quite easy to

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread MS
Hi, thanks for the response. Yes I've thought about a web-based platform. There are tools like LightTable and UpVerter which are inspiring, and I understand the V8 javascript engine renders stuff pretty quickly. Unfortunately that would require getting up to speed on yet another way of think

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Timothy Baldridge
I've long thought that the Clojure world needs a JavaFX/React hybrid. JavaFX2's API is extremely consistent, making it quite easy to program against, but yes it still requires bindings and in-place mutation. However a React-like diff-ing engine on it would be quite impressive. But now you're into

Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Colin Yates
Wow, there is a lot to deal with :), so let me throw out some ideas: - have you considered building a web-app instead of a desktop app? If so, have a look at one of the react based languages (om or reagent would be my choice). Alternatively take a look at other http://en.wikipedia.org/wiki/Func

Clojure for Desktop UI Design Application

2015-01-12 Thread MS
(Cross-posted on StackOverflow) I'm trying to design a desktop UI for schematics, layout, drawing stuff. Just looking for high level advice from actual software designers. Assuming an in-memory "database", (clojure map of arbitrary depth for all user data, and possibly another one for applicat