Re:Ask HN: What are weird and/or novel ways to do web UIs?
by faizshah on Thursday October 03, 2019 @11:54AM
(#21148432)
This is actually really cool! I am definitely gonna try this this weekend, awesome work :)
How complicated would it be to do something like this for Ember, is it tightly coupled to react and redux? I might give a try at forking it.
Re:Ask HN: What are weird and/or novel ways to do web UIs?
by jho406 on Thursday October 03, 2019 @07:39PM
(#21153416)
Yes give it a go and ask me any questions :). I was hoping someone makes use of it. It's tightly coupled to Redux, but not React. I don't think it will work great with ember, and I say that because Breezy doesn't require any router or models (again Breezy is about the content state as opposed to business models). It reuses your Rails routes much like Turbolinks.
Breezy's insight is that frontends are wildly complex due to the industry vertical (say.. childwelfare), so instead of shaping your state for business, breezy shapes it for content. Content being a header, footer, body as opposed to a post model or user model. This means each page is represented as a node in the Breezy Redux tree with its own header body and footer.
On one hand, it is annoying to traverse the pages to make updates, on the other, I can look at any running application and make close-to-correct assumptions on how to update the store. After all, most applications regardless of industry vertical has a header, body and footer somewhere.