>
> For 'routing' specifically, if you want a more formal system we used state
> machines in the past and recently Clojure has a really nice additional
> possibility there - https://github.com/lucywang000/clj-statecharts.


I really like the idea of the app being as stateless as possible, to where
you could have a history stack which was basically an address like
"\user\update\123" so people could move back and forth between spots
that aren''t otherwise easy to jump around in.


> For general UI programming if you are using javafx then I really like
> cljfx - https://github.com/cljfx/cljfx.
>

I keep looking at cljfx thinking, "Well, this is probably the way to go"
but I could not get the examples to work, despite trying different
Java/JavaFX combos.

But it's a horse pill. Besides JavaFX, you've got component
lifecycles (which I've never grasped), renderers (which I haven't touched
in years, since I used reagent), and after about 3.5K of words and code you
get, "Now that every piece is laid out, it's time to combine them into
application." That kind of approach has not been successful for me, so I've
been interacting with JavaFX directly to get going. This, at least, means
that when I start thinking, "Well, it would make a whole lot of sense to be
able to describe this interface as a data structure," I can go back to
cljfx and go, "Ah, that's why he did that."

-- 
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 moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAJAnwPkOM%3Da_hU0wfnEDn-ge8yTXKfamqntGA%2B9oKWt7Oc0Ljg%40mail.gmail.com.

Reply via email to