-
Notifications
You must be signed in to change notification settings - Fork 9
Api's and FP: BFF's
Onorio Catenacci (@OldDutchCap)
Chris Roland (@ChrisRoland)
Kevin
Adrian
Carlos
Tony
Stefan
Dmitri
-
We started by discussing which functional languages all of us are working/playing with
F#
Erlang
Clojure
Elixir
-
No state
The idea of coding without state maps more nicely to the FP paradigm than the OO paradigm.
Try to push the management of state to a higher level
We need a good way to model the finite state machine. FP provides this good way.
OO seems to encourage thinking in terms of hanging on to state
-
Idempotent
-
Resources as actors
-
What is the actor model?
-
Properties of actors
-
Actors are addressable (Resources are addressable)
-
Therefore seems like there should be a good mapping here.
-
Erlang processes are actors.
-
-
-
-
Custom routing patterns map nicely to FP pattern matching / destructuring forms
-
Is Hypermedia a good fit for FP? Yes, we feel that it is a good match.
-
Discussion of pagination vs. side-effect free functions.
-
When discussing hypermedia we need to be careful about whether we're discussing client side or server side
-
How do we maintain state on the server side with FP?
-
Easier to think of pagination via the mental model of thinking about pages in a book.
-
Discussing using Reactive Extensions as a potential solution to pagination issue.
-