hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
2018-04-16T00:15:03.000050Z

@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.

2018-04-16T00:15:49.000123Z

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

2018-04-16T00:17:59.000159Z

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).

2018-04-16T00:20:20.000118Z

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

2018-04-16T00:21:58.000112Z

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.

2018-04-16T00:30:57.000142Z

@chromalchemy i'm also checking out https://popper.js.org/

2018-04-16T00:31:18.000030Z

hoplon-elem-lib is like devcards lite

2018-04-16T00:31:55.000063Z

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

2018-04-16T00:33:04.000097Z

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

2018-04-16T00:59:44.000175Z

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?

2018-04-16T01:16:14.000113Z

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

2018-04-16T01:16:18.000200Z

hoplon-elem-lib is 20 LOC

2018-04-16T01:16:39.000209Z

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

2018-04-16T01:17:28.000034Z

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

2018-04-16T01:19:09.000010Z

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

2018-04-16T01:21:55.000142Z

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?

2018-04-16T01:22:19.000012Z

100% yes

2018-04-16T01:22:37.000029Z

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

2018-04-16T01:23:19.000039Z

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

2018-04-16T01:25:29.000134Z

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

2018-04-16T01:29:13.000005Z

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

2018-04-16T01:35:30.000179Z

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

2018-04-16T01:35:51.000049Z

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