In the last post I have played with GraphQL. The next step is to actually query the data and display it. In this post I will use react (from Facebook) and the Apollo GraphQL client. Tooling React I won’t give in here an introduction of the language because you may find on the web thousands of very good tutorials and advocacy articles. Anyway I will explain briefly why I have chosen React.
About GraphQL GraphQL has been invented by Facebook for the purpose of refactoring their mobile application. Facebook had reached the limits of the standard REST API mainly because: Getting that much information was requiring a huge amount of API endpoints The versioning of the API was counter-productive regarding Facebook’s frequents deployements. But graphql is not only a query language related to Facebook. GraphQL is not only applicable to social data.
For a change, I will start with a good soundtrack (youtube version for those who are spotify-less) This is my third article about the distributed coordination language Linda. The final target of the work is to use this coordination mechanism to deploy and maintain applications based on the description of their topology (using, for example, TOSCA as a DSL). Last time, I introduced a lisp based language (zygomys) as an embedded programing mechanism to describe the business logic.