Fork me on GitHub
#membrane
<
2022-09-26
>
phronmophobic22:09:02

Merged in support for calling defui components with non-literal maps. Next up is improving the membrane docs. I would love feedback on what folks think might be good improvements to the docs. The rough plan I came up with was to write a "How to Think in Membrane" guide and also add sections on a number of topics:

Guide: How to think in membrane
- model/view/update
- view: visualize the data
- update: writing effect handlers
  - references
Topics (in no particular order):
- Layout
- Event Handling
- Effect handlers
  - side effects
  - async
  - repainting
- Components
  - creating new components
  - composing components
  - collections
  - context
  - advanced usage
    - dynamic components
    - higher order components
    - recursive components
- Text handling
- Backends
  - how to choose
  - differences
  - supporting multiple
- Optimization
  - drawing
    - ui/->Cached
  - event handling
  - layout
  - moving work to the background
- Internals
  - IDraw
- Comparison Table vs other UI Frameworks
  - re-frame
  - reagent
  - react
  - cljfx
  - humbleUI?
  - seesaw
  - other?
thoughts?

Ben Sless08:09:00

These are all subject references, I still lack understanding of the right development flow, how it relates to the data model, etc. How do I get started? What is the workflow? What comes first?

phronmophobic08:09:54

I'm not sure I'll cover all of that, but the “how to think in membrane guide” is meant to cover some of those topics

phronmophobic08:09:07

I also tend to think that teaching a workflow is best done in video format, but there's some people who just hate video. any thoughts on doing video content?

adamfrey14:09:06

Under normal circumstances I avoid videos for learning resources in programming. But I think UI development is a notable exception for me, because I would like to see the visual workflow. I'm remembering early figwheel demo videos that got me excited.

👍 2
chromalchemy18:10:23

@U06060CK0 Indeed. Chris Grangers early video hacking on flappy bird game with real-time game physics changes sold me on Clojure, and motivated me to suffer years of confusion on Repl setups, tooling, etc 😅

😄 1
chromalchemy18:10:50

These dataflow, reactive moldable repl + tooling + ui workflow demos that pop up occasionally still seem magical and inspiring to me, even if it isnt exactly new totally new ground.