The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js
by: Robin Wieruch
Print Length 页数: 352 pages
Publisher finelybook 出版社: Independently published (5 Nov. 2018)
Language 语言: English
ISBN-10: 1730853935
ISBN-13: 9781730853937
Book Description
The Road to GraphQL is your personal journey to master pragmatic GraphQL in JavaScript. The book is full with applications you are going to build along the way with React.js and Node.js. Afterward,you will be able to implement full-stack JavaScript applications.
I wrote the The Road to GraphQL over the last year,while building several GraphQL applications for my clients and for myself. During this time,I came to understand the practical genius of GraphQL,and how it dramatically improves communication in client-server architectures. Not only does it improve the interface between the client and the server,it also enhances client-side state management by: eliminating remote data management. Sophisticated GraphQL libraries like Apollo Client provide powerful features like caching,optimistic UI,and data prefetching for free. This book covers the fundamentals of GraphQL itself,as well as its ecosystem. I applied the same principles as my other books:
Stay pragmatic
Keep it simple
Answer the why,not just the how
Experience a problem,solve a problem
This book is not intended to be an end-all reference for GraphQL APIs,nor an in-depth guide about the internals of the GraphQL specification. Instead,its purpose is to journey through learning GraphQL with JavaScript the pragmatic way,building client and server applications yourself. The book covers lots of facets about GraphQL in JavaScript that are important for building modern applications,without just throwing the libraries like Apollo at problems before experiencing them. It starts with the basic HTTP requests to perform GraphQL queries first,then moves on to using dedicated GraphQL libraries for it. You will even get the chance to implement your own GraphQL client library,so you understand how these libraries work under the hood. There are no hidden abstractions in this book,just plenty of fundamentals for JavaScript,React.js,Node.js,and GraphQL