4 ms·
Interesting how no one has mentioned Fulcro. There seems to be a lot of overlap between the two. Anyone who has used both and mind comparing them? https://fulc
by throwamon 5y ago
Interesting how no one has mentioned Fulcro. There seems to be a lot of overlap between the two. Anyone who has used both and mind comparing them?
https://fulcro.fulcrologic.com/ https://fulcro.fulcrologic.com/
- sooheon 5y agoYeah Fulcro has been building up their implementation of these ideas for ages, and used in anger, I think most famously by nubank. From https://book.fulcrologic.com https://book.fulcrologic.com: "The core ideas are as follows: Graphs and Graph Queries are a great way to generalize data models. UI trees are directed graphs that can easily be "fed" from graph queries. User-driven operations are modeled as transactions whose values are simply data (that look like calls). Arbitrary graphs of data from the server need to be normalized (as in database normalization): UI trees often repeat parts of the graph. Local Manipulation of data obtained from a graph needs to be de-duped. Composition is King. Seamless composition is a key component of software sustainability."
- ziftface 5y agoAm I wrong or is fulcro frontend only though? You wouldn’t get access to any server resources so you still need to manage syncing state with the server. Or am I wrong about that?
- sooheon 5y agoYeah you were mistaken, it's a full stack design. They recommend https://github.com/wilkerlucio/pathom https://github.com/wilkerlucio/pathom for the connection. It's GraphQL done right, you write data "resolvers" on the backend, you declare very flexible graph queries on the front end -> this populates client DB and then fulcro uses that to render frontend. Highly recommend reading through this section: https://book.fulcrologic.com/#FullStack https://book.fulcrologic.com/#FullStack