• Complain

Robin Wieruch - The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js

Here you can read online Robin Wieruch - The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Robin Wieruch, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js
  • Author:
  • Publisher:
    Robin Wieruch
  • Genre:
  • Year:
    2018
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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.

Requirements

To get the most out of this book, you should be familiar with the basics of web development, which includes some knowledge of HTML, CSS and JavaScript. You will also need to be familiar with the term API, because they are discussed frequently. I encourage you to join the official Slack Group for the book, help or get help from others.

React

On the client-side, this book uses React to teach about GraphQL in JavaScript. My other book called The Road to learn React teaches you all the fundamentals about React. It also teaches you to make the transition from JavaScript ES5 to JavaScript ES6. The book is available for free and after having read the Road to learn React, you should possess all the knowledge to implement the GraphQL client-side application with this book.

Node

On the server-side, this book uses Node with Express as library to teach about GraphQL in JavaScript. You dont need to know much about those technologies before using them for your first GraphQL powered applications. The book will guide you through the process of setting up a Node application with Express and shows you how to weave GraphQL into the mix. Afterward, you should be able to consume the GraphQL API provided by your server-side application in your client-side application.

Robin Wieruch: author's other books


Who wrote The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js? Find out the surname, the name of the author of the book and a list of all author's works by series.

The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
The Road to GraphQL Your journey to master pragmatic GraphQL in JavaScript with - photo 1
The Road to GraphQL
Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js
Robin Wieruch

This book is for sale at http://leanpub.com/the-road-to-graphql

This version was published on 2019-04-05

This is a Leanpub book Leanpub empowers authors and publishers with - photo 2

* * * * *

This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.

* * * * *

2018 - 2019 Robin Wieruch
Introduction

The central theme of this book is GraphQL in modern applications. While GraphQL is only a specification that can be used in many programming languages, this book focuses on GraphQL in JavaScript. Facebook, the company behind the GraphQL specification, released GraphQLs reference implementation in JavaScript, and for good reason: JavaScript is currently the most compelling programming language and ecosystem for companies and their client-server architecture.

GraphQL is a query language that can be used anywhere, but it often bridges the gap between client and server applications. It isnt opinionated about which network layer is used, so data can be read and written between client and server applications. It is used to complement the network stack for many libraries and frameworks in JavaScript. The client side takes advantage of popular solutions like React, Angular, and Vue, while the server side can use middleware libraries like Express, Koa, and Hapi in a Node.js environment. It is just a matter of sending GraphQL operations with HTTP across the wire to connect both sides.

The emergence of GraphQL introduces a new era in web development. RESTful applications were the industry favorite for data transfers between client and server applications, but modern requirements have shifted. Applications have to deal with multiple clientsi.e. desktop, web, mobile, wearableswhich are all interested in APIs exposed by server applications. The choice becomes one between using multiple client-specific APIs with REST, or just one API with GraphQL for all client applications, which hardly seems like a choice at all. GraphQL is more than just a unified interface, though; its ecosystem offers powerful capabilities and even more potential as its open source community grows.

For me, it was a lucky coincidence that a former coworker open-sourced the GraphQL implementation for Java. He worked to become one of GraphQLs first open source contributors, eventually creating the go-to implementations for Java. The experience shaped my own thinking about GraphQL, which was expanded when my employer evaluated GraphQL for their enterprise application. The glue between our client and server application was initially largely influenced by REST; we had API endpoints for all our RESTful resources in place, eventually running into issues like Facebook for API-consuming client-side applications. The API endpoints were too rigid, so they required aggregations and modifications. An aggregation means putting resources into a singular API endpoint, where a modification is to offer variations of an API endpoint to request different representations of a resource. We introduced our own implementation to request resources from the server and ended up with our own naive implementation of GraphQL. From a client-side perspective, only Relay for React was released those days as a sophisticated library in terms of consuming GraphQL APIs, so we invested time in this as well. In the end, GraphQL was too early in its development, so we postponed introducing it to our technology stack. Admittedly, none of us knew it would become so powerful or popular.

This book starts with GraphQL in client-side applications, so you will use React as a UI library to consume a third-party GraphQL API, which happens to be GitHubs GraphQL API. It is a popular choice among developers for a couple reasons: GitHub was one of few popular companies to release a GraphQL API to the public; GitHubs subsequent growth has granted some credibility to GraphQL itself; and a third-party API usually focuses on client-side GraphQL application in the beginning. This book teaches how to consume the GraphQL API in a client application without having to build the GraphQL server yourself.

When we shift gears in this book toward GraphQL on the server side, we will implement a GraphQL API that can eventually be consumed by a GraphQL client application. You will implement powerful features such as authentication, database connections and pagination. By the end, you should have a firm grasp about using GraphQL in your JavaScript applications.

About the Author

I am a German software and web engineer dedicated to learning and teaching programming in JavaScript. After obtaining my Masters Degree in computer science, I continued learning on my own. I gained experience from the startup world, where I used JavaScript intensively during both my professional life and spare time, which eventually led to a desire to teach others about these topics.

For a few years, I worked closely with an exceptional team of engineers at a company called Small Improvements, developing large scale applications. The company offered a SaaS product that enables customers to give feedback to businesses. This application was developed using JavaScript on its frontend, and Java as its backend. The first iteration of Small Improvements frontend was written in Java with the Wicket Framework and jQuery. When the first generation of SPAs became popular, the company migrated to Angular 1.x for its frontend application. After using Angular for over two years, it became clear that Angular wasnt the best solution to work with state intense applications, so they made the jump to React and Redux. This enabled it to operate on a large scale successfully.

During my time in the company, I regularly wrote articles about web development on my website. I received great feedback from people learning from my articles which allowed me to improve my writing and teaching style. Article after article, I grew my ability to teach others. I felt that my first articles were packed with too much information, quite overwhelming for students, but I improved by focusing on one subject at a time.

Currently, I am a self-employed software engineer and educator. I find it a fulfilling pastime to see students thrive by giving them clear objectives and short feedback loops. You can find more information about me and ways to support and work with me on my website.

Requirements

To get the most out of this book, you should be familiar with the basics of web development, which includes some knowledge of HTML, CSS and JavaScript. You will also need to be familiar with the term API, because it is discussed frequently. I encourage you to join the official Slack Group for the book, to help or get help from others.

Editor and Terminal

For the development environment, use a running editor or IDE and terminal (command line tool), and follow my setup guide. It is adjusted for MacOS users, but you can find a Windows setup guide, too. There are lots of articles about setting up a web development environment for your OS.

React

On the client-side, this book uses React to teach about GraphQL in JavaScript. My other book called The Road to learn React teaches you all the fundamentals about React. It also teaches you to make the transition from JavaScript ES5 to JavaScript ES6. The book is available for free and after having read The Road to learn React, you should possess all the knowledge to implement the GraphQL client-side application with this book.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js»

Look at similar books to The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js»

Discussion, reviews of the book The Road to GraphQL: Your journey to master pragmatic GraphQL in JavaScript with React.js and Node.js and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.