Visual Design of GraphQL Data
Visual Design of GraphQL Data
Visualizing / Morphing API Structures and Prettifying Content
About the Book
This book is now published by Apress: Look here.
Understand and Visualize GraphQL, Prettify Legacy Content and get the API Structures Right!
New in the April 2018 version: Issues with legacy data as well as issues and benefits in combining GraphQL with Neo4j graph databases.
GraphQL is indeed an attractive data API for applications (and people). The GraphQL Schema is pivotal to the success of a GraphQL API in that it describes an application side scope as well as the mapping to data sources.
There are many contexts, where complex structures and semantics must be communicated effectively, and the trick invariably turns out to be: Use good visualizations! Most development projects involve many stakeholders.
The main proposition of this book is graph visualization: GraphQL Schema structure and meaning must be visualized, and the book shows you how. Since the schema is a “data graph” containing related concepts in a network organized as a directed graph, the increasingly popular property graph paradigm is very appropriate for visualizing GraphQL structures and semantics.
The second theme of this book is that of quality of the content. GraphQL APIs can be used in many constellations possibly including legacy data and/or externally sourced data. Quality must be ensured in all cases. The book contains simple guidelines based on lessons learned from real life data discovery and unification. This helps developers and architects to get good quality in the resulting API designs. And the visual techniques help in producing convincing visual communication about the structure of the API designs.
The third theme is how to handle GraphQL with legacy data as well as with Neo4j graph databases.
Spending time on schema quality means that developers work from sharp definitions, which in turn leads to greater productivity and well-structured applications.
Table of Contents
- Introduction
- Acknowledgements
-
Visual Design of GraphQL Data
- What is GraphQL – and why is Design important?
- Issues with defining Data Structures in GraphQL
- Issues with Data Content in GraphQL
- GraphQL Concepts
-
Getting Started
- Which Design Levels?
- Getting an Overview
- An Email Example
-
Business Meaning
- Data Names in the API matter
- Finding Standard Data Structures
- Establishing Identity and Uniqueness
-
Presenting the Business Flow
- Presenting the Keys
- Presenting State Changes
- Presenting Versions of Data
-
Content Matters
- Housekeeping Proper
- Scalar Data Types
- Presenting Dates and Times
- Using Custom Schema Directives
- Design is Decisions
-
Getting the Structure Right
- Which Objects and Which Relationships?
- GraphQL Schema Stitching, Making a Patchwork
- Presenting Relationships and Missing References
- Presenting the Right Level of Detail
- Good Relationships
-
From Graph to Trees
- Structure Design at the API Level
- Positioning the Graph for Generation of Trees
-
Resolving Legacy SQL Data Issues
- Data Names etc.
- Identity, Uniqueness and Keys
- States, Versions and Housekeeping
- Scalar Data Types
- Date and Time
- Naming Relationships
- Relationship Types
- Missing Information
- Properties on Relationships
-
Using GraphQL with an Existing Graph Database
- The Neo4j GraphQL Plugin
- Generating Your First GraphQL Schema
- Data Names etc.
- Identity, Uniqueness and Keys
- States, Versions and Housekeeping
- Scalar Data Types
- Date and Time
- Naming Relationships
- Relationship Types
- Missing Information
- Properties on Relationships
-
Using GraphQL with a New Graph Database
- Design Goals of the Neo4j-GraphQL Integration
- Generating Your Neo4j Database From The GraphQL Schema
- Neo4j-GraphQL Resources
- Summary
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them