Fork me on GitHub
#hoplon
<
2018-04-16
>
chromalchemy00:04:03

@thedavidmeister http://tether.io looks awesome. Like taking the box model and making it less of a straight-jacket. Hoplon-UI had some serious efforts to make a more logical yet powerful box model (by nesting 3 containers). Then started to implement some "break-outs" with CSS matrix tranformations. But the tether thing look like a more comprehensive relative-layout vision.

chromalchemy00:04:49

@thedavidmeister what is hoplon-elem-lib for? tracing state for debugging?

chromalchemy00:04:59

The author if re-frame was on the Defn podcast today. I've never used it, but am always curious to hear it's analogies to Hoplon (beyond the vanilla react layer).

chromalchemy00:04:20

In this clip he talks about wanting to re-implement re-frame without using the signal graph of reagent "reactions". Suggesting that a graph of lots of "little" nodes is some kind of antipattern? I assume this current signal graph is analogous to the javelin cell graph. Any thoughts on what he's getting at? https://soundcloud.com/defn-771544745/34-mike-thompson-aka-wazound#t=37m30s

chromalchemy00:04:58

He goes on to talk about batching updates to the state db (global atom?), and thoughts about moving into composable state machines (behavior trees) for async client patterns.

thedavidmeister00:04:18

hoplon-elem-lib is like devcards lite

thedavidmeister00:04:55

for dropping examples of things into, like all your buttons, or loading animations, etc.

thedavidmeister00:04:04

so you can see many examples at the same time, or things in hard to reach places

chromalchemy00:04:44

Cool! I haven't used devcards yet, but I love the idea. Kind of a form of generative testing for design... generate a set parameterized versions, then visually or interactively gut-check. Seems like it would save on the endless tweaking back and forth that I currently do to finess parameters into some kind of congruent set. I will definitely use use this. ps. Why not use dev-cards? what are the gotchas regarding trying to use it with hoplon?

thedavidmeister01:04:14

@chromalchemy i didn't even try dev cards tbh lol

thedavidmeister01:04:18

hoplon-elem-lib is 20 LOC

thedavidmeister01:04:39

also i think it's a great example of the composability and expressibility of hoplon, if you go digging under the hood

thedavidmeister01:04:28

ok, i lie, it got up to 30 LOC in the last release 😛

thedavidmeister01:04:09

i'll probably split the syntax highlighting out into its own repo at some point

chromalchemy01:04:55

Lol. Nice! Like could you say that part of the appeal of Hoplon is a kind of composable minimalism that enables bespoke solutions like this?

chromalchemy01:04:37

plus Dev-cards is Lein-centric (I think thats why I haven't tried it...)

thedavidmeister01:04:19

"composable minimalism for bespoke solutions" - you nailed it 😛

chromalchemy01:04:29

Ha ha. I read too much. Code too little 🙃

thedavidmeister01:04:13

even just "composable minimalism" is a nice tagline imo 🙂

thedavidmeister01:04:30

but otoh, it's important not to ignore all the cool non-hoplon stuff that's out there either...

thedavidmeister01:04:51

luckily it's usually super easy to whip up a hoplon wrapper for a lib