Live data from Hacker News

Netflix Releases Falcor Developer Preview

techblog.netflix.com

31–40 of 53 posts

Re: Netflix Releases Falcor Developer Preview

#31

For a much simpler solution to the json graph problem: https://github.com/jsog/jsog Implementations in Javascript, Python, Ruby, and Java.

I much prefer the JSON-API approach by Yehuda Katz, et al.[1] https://gist.github.com/21echoes/a1ca3e4376262da32297 It's definitely designed to be used in a RESTful-esque situation (the reference keys are a type/id tuples), but that's the dominant JSON use case anyway. For an example of why you'd want type/id tuples over JSOG's plain string @id -- while in the given JSOG example, all items are People, referencing an…

I agree that the type/id pair is quite helpful when reading the graph! Interestingly, this does have the effect of limiting you to N top-level types, but I don't actually think that's a big deal. Most applications, if you break them down, only have like 3 real types (one of which is always "user").

Re: Netflix Releases Falcor Developer Preview

#33

I really admire Netflix's ability to put together developer documentation for their open source projects. I think it reflects well on their engineering culture. I was similarly impressed when I was reading the documentation for Hystrix, which seems to share some functionality with Falcor, like request batching and caching. The path syntax is very readable and obviously plays to JavaScripts strengths as a dynamic lang…

I read some of the docs but that's the thing I noticed as well, it makes typing impossible or at least very hard.

On the other hand, it looks very nice and the document is very well done as well

Re: Netflix Releases Falcor Developer Preview

#35

I wish the website would link to this talk which gives some background on how they got to falcor. https://www.youtube.com/watch?v=hOE6nVVr14c

Thanks for that, great info. I've opened an issue https://github.com/Netflix/falcor/issues/430 as it really should be included on the website.

Re: Netflix Releases Falcor Developer Preview

#36
post #23

I wish they'd tried to work with existing formats :( http://jsonapi.org/ / https://github.com/jsog/jsog

Both those formats feel very unfriendly to me. Lots of odd standards that I have never seen on any other popular API.

JSON Graph seems to just need one: { $type: "ref" }

Re: Netflix Releases Falcor Developer Preview

#37

I wish the website would link to this talk which gives some background on how they got to falcor. https://www.youtube.com/watch?v=hOE6nVVr14c

Unfortunately, the presenter says "earl" when referencing a URL so it takes multiple tries to get through the video.

Re: Netflix Releases Falcor Developer Preview

#40
"Falcor automatically traverses references in your graph and makes requests as needed."

This seems like it could be as much of a curse as a blessing. I hope 1.0 ships with a good development/debug mode to gauge the efficiency auto-generated requests.

Post reply on HN