I think the major leap functional languages (esp. CLJS because that's where
it started) have made in the UI world is in the area of React-style virtual
DOM setups.

The overall view is this:
datamodel -> view generation -> dom differ -> UI -> events -> datamodel

The idea being that you can code in a very declarative way, and allow the
framework to diff the UI with what the previous view of the UI was. So
although this model is not strictly functional (events do have side
effects) it is a declarative dataflow, and for me that's revolutionized how
I do UI work.

This model with originally prototyped with React, but then Om in
ClojureScript introduced immutable data that can drastically cut down on
the complexity of the React diffing model.

All that's happened in about the last 4 years. And since then we've seen a
lot of ideas from ClojureScript move into the JS world and back into React
itself. From there, libraries such as my fn-fx lib (mentioned previously)
are simply a React-esque virtual dom over JavaFX. Sadly though, these non
JS libraries don't get a lot of exposure mostly because the vast majority
of UI apps are in the browser. It's been almost 10 years since a client has
asked me for a non-browser app.

Timothy


On Sat, Dec 2, 2017 at 6:41 PM, Raoul Duke <rao...@gmail.com> wrote:

> random tangential food for thought:
> https://groups.google.com/forum/#!searchin/elm-discuss/
> Discussion$20on$20saying$20farewell$20to$20FRP$20|sort:
> relevance/elm-discuss/6U74_aNXC04/UY8dIIh-CQAJ
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to