Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gliechtenstein
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Build a QR code scanning app with 26 lines of JSON
(medium.com)
6 points
by
gliechtenstein
9y ago
|
1 comments
2.
▲
by
gliechtenstein
9y ago
You guys should check out https://www.celljs.org if you like this type of approach
3.
▲
by
gliechtenstein
9y ago
It can transform anything that's written in JSON, which means both model and view and anything else. One of the use cases for ST.js in Jasonette is dynamic client-side rendering, where it takes dynamic data and renders it against the t
4.
▲
by
gliechtenstein
9y ago
> That's more human readable, but also slightly inconsequent - you wouldn't be able to validate such a template with json schema for example. Could you elaborate?
5.
▲
by
gliechtenstein
9y ago
Thanks! I actually built this library for my own usage (Jasonette) and decided to open source it because I realized it can be powerful for all kinds of other purposes. In essence ST.js is a finite state machine implemented purely in JSON. S
6.
▲
by
gliechtenstein
9y ago
Hi, my name is Ethan. I'm the creator. I thought I would provide some context on why I wrote this library, and how I'm using this right now. So here it goes: Other than ST.js, I also work on another open source project called Jaso
7.
▲
by
gliechtenstein
9y ago
Creator here. Yup, in fact you can check out something like that here https://github.com/SelectTransform/JSONQL Basically you can send the JSON template over JSON to the server, and let the server transform the raw dat
8.
▲
Select Transform: JSON template over JSON
(selecttransform.github.io)
89 points
by
gliechtenstein
9y ago
|
75 comments
9.
▲
Building mobile apps with Jasonette + Laravel + Blade
(dev.to)
2 points
by
gliechtenstein
9y ago
|
0 comments
10.
▲
by
gliechtenstein
9y ago
Thanks! :)
11.
▲
by
gliechtenstein
9y ago
Hey guys I know this post will be one of the most meta things to post here and probably a lot of people will say "what's the point?" but I thought it was cool so thought I would share. For background, I am working on a JS lib
12.
▲
Show HN: HTML to JSON to DOM
(gliechtenstein.github.io)
11 points
by
gliechtenstein
9y ago
|
3 comments
13.
▲
I Created Cell.js to Tackle the Root of All Evil: Dependency
(codementor.io)
4 points
by
gliechtenstein
9y ago
|
0 comments
14.
▲
by
gliechtenstein
9y ago
This looks awesome! I believe being able to express an entire app logic as data can be super powerful. BTW shameless plug: If you're interested in this type of ideas, please also check out Jasonette (an open source project I'm wor
15.
▲
by
gliechtenstein
9y ago
Thanks! I'll be honest, cell is only a couple of days old, and I myself can't say what The best practices are. And this is by design because the goal was to create complexity out of simplicity. I believe this bottom up approach ca
16.
▲
by
gliechtenstein
9y ago
sorry about that, yeah i meant to add fetch polyfill but forgot to. But rest assured, the library itself is 100% es5. btw could you share the link that's not working on IE11? I will fix it right away. Would appreciate it!
17.
▲
by
gliechtenstein
9y ago
I hope these are enough (They're on the homepage as well if you want a more readable version): How it has a different architecture: https://github.com/intercellular/cell#so-how-does-it-work-ex... What these archit
18.
▲
by
gliechtenstein
9y ago
Sorry about that! I'm using some in-house library I built myself to run the webpage but hadn't realized it fails on an IE. Will fix it!
19.
▲
by
gliechtenstein
9y ago
I think the first reaction when people see Cell is to compare with existing frameworks and existing best practices. And when you come from that direction, Cell is a terrible framework that doesn't follow any best practices and does thi
20.
▲
by
gliechtenstein
9y ago
Cell has a fundamentally different architecture than other frameworks, so I don't think it's fair to compare it with how you would use other frameworks. The whole point of cell is to build the simplest building block you can compo
21.
▲
by
gliechtenstein
9y ago
You'll see how to do this at the end of this section https://github.com/intercellular/tutorial#a-creating-a-simpl... Hope this helps!
22.
▲
by
gliechtenstein
9y ago
Thank you. i built it because I believed things can be much simpler. The inspiration was from real life cells. It's amazing how small autonomous cells bind and interact with one another to form a complex organism. Cells have genotypes
23.
▲
by
gliechtenstein
9y ago
Yes, cell itself has a decentralized architecture but that doesn't mean you need to do everything in a decentralized manner. Just like you can build spaceships, police station, cars, and all kinds of complex things using lego blocks, y
24.
▲
by
gliechtenstein
9y ago
Thank you so much! So glad to finally run into a positive comment haha. You totally nailed it!!! You made my day :)
25.
▲
by
gliechtenstein
9y ago
Thank you! You are right about everything. It's intentionally built with es5, it was pretty challenging to do so. Initially I used es6 proxy to handle all the state synchronization and message dispatch without touching the DOM but sinc
26.
▲
by
gliechtenstein
9y ago
Just like how events bubble up on the DOM tree, each node tries to resolve from its own context, and if that doesn't work, resolves upwards until it reaches an element that does have that attribute. So technically, the attributes are n
27.
▲
by
gliechtenstein
9y ago
Sorry about the confusion! Yes the effortless integration is actually one of the selling points of cell, I will definitely take your advice and make sure this is more visible, thank you!
28.
▲
by
gliechtenstein
9y ago
Hi, author here. Most of the work cell does internally is to let users interact with the dom as though they are touching them directly, but at the same time actually insulates them from doing so by using a pseudo proxy object. please feel f
29.
▲
by
gliechtenstein
9y ago
Thanks for asking! Yes, there are LCS deduplication logic, synchronized DOM update, initializers, reactive updates, storing and mutating states, etc. They're all in there. They're just structured differently because it has a diffe
30.
▲
by
gliechtenstein
9y ago
Yup, it works for all $ variables. As for the "_" variables they are meant to have no side effect on the DOM directly and instead only trigger a function called $update() automatically, which is where you can deal with all the vie
More ›