-
Notifications
You must be signed in to change notification settings - Fork 97
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
Typescript? #89
Comments
yes! |
I absolutely like the idea, except I am short of time. |
Ok, I will start translation |
@vestild Any updates on this? Would also be interested to see Swarm being ported to TypeScript, also willing to helping getting this done. Off topic: really like the idea of swarm, exactly the level of abstraction I was looking for to start using CRDT's. |
Hi @jhuiting ! Hence, someone should design that TypeScript API package: objects on the outside, RON frames inside and on the wire. Named |
@cblp @vestild @jhuiting @andreypopp So, guys, in case you have any ideas on that RON-to-objects API, please share now. MVC-ish? Redux-ish? GraphQL-ish? What are your personal experiences with those technologies? |
@gritzko That makes sense, the RON frames and all core seems to be low level indeed so TS wouldn't add much there. I've worked with MVC for quite a while (BackboneJS, and a bunch of server-side frameworks) and have some experience with Redux. I'm not sure if GraphQL fit's here, I would expect that at a different abstraction level (e.g. an endpoint that exposes operations on the objects). One option that's not mentioned is Mobx, we're using that at Mendix for an extensive, typed SDK that sends deltas over HTTP in the background (Mobx is originally built by a colleague for that purpose). So the end-user is just modifying objects, and everything they do in there is typed. The JS SDK (not the TS sources) are available on NPM if you want to have a quick peek. I'm happy to explain it in more detail if anyone finds it relevant/interesting. |
May be change language to typescript while code base is small?
The text was updated successfully, but these errors were encountered: