8000 Are you aware of Tyxml ? · Issue #1 · rbardou/funweb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Are you aware of Tyxml ? #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Drup opened this issue Apr 27, 2016 · 3 comments
Open

Are you aware of Tyxml ? #1

Drup opened this issue Apr 27, 2016 · 3 comments

Comments

@Drup
Copy link
Drup commented Apr 27, 2016

See the Tyxml_js module and the Tyxml manual. We also recently introduced a ppx that allows to write HTML/SVG and can be interpreted, among other things, in js_of_ocaml.

@rbardou
Copy link
Owner
rbardou commented Apr 27, 2016

Thanks for taking a look!

A long time ago I used some part of Ocsigen to write HTML trees but I found it rather annoying to use in practice. I don't remember how it was called, maybe it is now Tyxml. Thanks for the links.

To be honest though, writing HTML trees is probably the least interesting issue that Funweb tries to solve. I think the key feature of Funweb is rather that it adopts ideas from React (see http://jlongster.com/Removing-User-Interface-Complexity,-or-Why-React-is-Awesome). Basically, the idea is to rebuild the DOM tree everytime one wants to modify it. This solves many issues but it also creates new ones. I tried to solve those new issues with very simple solutions and I came up with Funweb.

Others have tackled this problem, Funweb is not ground-breaking, but it was a nice challenge and I had fun designing it :D

@Drup
Copy link
Author
Drup commented Apr 27, 2016

@rbardou Indeed, this is also covered by the Tyxml_js.R module. There is a simple example here and a manual in eliom.

@Drup
Copy link
Author
Drup commented Apr 27, 2016

(And I agree, reactive UIs for the web are great)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0