5 ms·
Show HN: Frax – Experimental abstraction layer for coding of web UIs
- deleted 7y ago[deleted]
- vorpalhex 7y agoGoogle docs link which displays the email and identity of all viewers. Direct link to pdf on Github: https://github.com/MikaeI/frax/blob/master/Frax%20presentation.pdf https://github.com/MikaeI/frax/blob/master/Frax%20presentati...
- deleted 7y ago[deleted]
- deleted 7y ago[deleted]
- mikaelaast 7y agoHmm. That doesn't sound right. It just displays the document for me. What am I missing...?
- hunter2_ 7y agoI thought Google docs only leaks identity among people specifically invited, not also among uninvited people who have the link even if they are authenticated. No? This would be a huge story if you're right.
- molszanski 7y agoLooks exactly like a React api
- mikaelaast 7y agoLook closer! (I regret posting this as a PDF, so now I've put the whole text in the readme of the repo: https://github.com/MikaeI/frax https://github.com/MikaeI/frax)
- molszanski 7y agoOh. Now I see the difference. Keep experimenting :)
- staflow 7y agoI’m sorry to say this but this is pure garbage, you should first look into ReactJS before “inventing” new frameworks.
- mikaelaast 7y agoIt's just an experiment, not a framework :)
- mikaelaast 7y agoBTW, thanks. Purity is hard to achieve!
- cy_hauser 7y agoWhy should ReactJS be held up as the best example of pure garbage?
- lux 7y agoI like the minimalism, and I don't hate having alternatives to React and the like. It's not like this is a forever solved problem with a single accepted solution in world of programming. There are a thousands of takes on "UI abstraction" in dozens of languages at this point. I'd love to see a code example of how you see clickableClassNames and changeableClassNames working in practice (and how that may be expanded to support other events), or even a clone of the token todo app.
- lioeters 7y agoHaving a single function as an interface actually complicates things. I'd recommend separating it into functions that each does one thing only. For example: - Register template - Register worker - Create store - Create element - Add event handler Give them explicit names and function signatures (number and type of arguments). An abstraction is great until it becomes too far removed from the actual operations that it performs. Among programmers, this is called "magic", as a term of criticism. Avoid too much magic: show us the internal workings, and give users the power to handle the things (data and algorithms) directly and concretely.