I have my eye on two new client-side, data-access technologies that will be open sourced “soon”. They are both trying to solve redundancy and coupling concerns between client-side code/data models and server-side code/HTTP endpoints. How? Both are a bit of a mystery right now so that is hard to answer.
There isn’t a lot of information available for Facebook GraphQL/Relay, but here are a couple of links:
- Introducing Relay and GraphQL | React
- Building The Facebook News Feed With Relay | React
- 2015-01-29 Unofficial Relay FAQ
- GraphQL and Relay with Nick Schrock and Joe Savona - DevChat.TV
There is even less information about Netflix Falcor - you can follow Falcor (@falcorjs) on Twitter and watch the Binding to the Cloud with Falcor Jafar Husain - YouTube presentation from ng-conf. This project might have been named Falkor at one point.
What to do next? Wait for the open source versions to be released and (hopefully) some good documentation. These might be niche solutions when you have a connected graph of data objects which you want to retrieve and display in multiple ways? They are also are both more query-based and move in a different direction from what I would consider REST.