FRP, probably the best-known user interface paradigm for functional programming, models UIs as dataflows, where changes (user actions or data source changes) propagate through the system using purely functional operations and eventually end up as visual changes back in the UI. In short, FRP is similar to how changes to a cell in a spreadsheet propagate to other dependent cells.
Though the ClojureScript ecosystem is still fairly immature (or perhaps because it is), there are many libraries which support the FRP style of programming. If you are looking for an alternative to faking object-oriented styles of programming in ClojureScript, jump in and give one or more a try!
(By the way, if you want my personal recommendation, I have had a lot of luck with the simplicity and power of widje.)
(By the way, if you want my personal recommendation, I have had a lot of luck with the simplicity and power of widje.)
Native ClojureScript libraries
C2
cljs-binding
Javelin
Pedestal
Widje
cljs-binding
Javelin
Pedestal
Widje
ClojureScript libraries built on top of JavaScript libraries
acute (wrapper around AngularJS)
rx-cljs (wrapper around RxJS)
Yolk (wrapper around Bacon.js)
rx-cljs (wrapper around RxJS)
Yolk (wrapper around Bacon.js)
- Yolk (Github)
- Wilkes Joiner on Yolk and FRP (YouTube video)
- Yolk Examples (Github)
- Bacon.js (Github)
No comments:
Post a Comment