Книги и журналы » Компьютерная литература » Программирование (книги)
GraphQL and AndroidГод издания: 2019
Автор: Mark L. Murphy
Жанр или тематика: Программирование
Издательство: CommonsWare
ISBN: Отсутствует
Язык: Английский
Формат: PDF, EPUB, MOBI
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 262
Описание:
GraphQL is a rapidly-ascending alternative to REST for implementing Web services. Developed by Facebook, GraphQL is popular in Web development. And, where Web service development goes, mobile app development — including Android — inevitably follows.
This book helps you understand what GraphQL is and how to communicate with a GraphQL server, both in terms of GraphQL specifications and syntax and in terms of Android code for reaching those servers.
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
• Preface
◦ How the Book Is Structured
◦ About the Updates
◦ What’s New in Version 0.3?
◦ Warescription
◦ Book Bug Bounty
◦ Source Code and Its License
◦ Creative Commons and the Four-to-Free (42F) Guarantee
◦ Acknowledgments
• GraphQL in Five Minutes
◦ Step #1: Gotta Get a GraphiQL
◦ Step #2: Drafting a Document
◦ Step #3: Making the Request
◦ Step #4: Looking at the Docs
• The Role of GraphQL
◦ So, What Did We Just Do?
◦ What Exactly is GraphQL?
◦ GraphQL Design Principles
◦ Key GraphQL Features
◦ GraphQL Compared To…
• Top-Level GraphQL Terms
◦ Document
◦ Operation
◦ Operation Name
◦ Arguments and Variables
◦ Mutations and Objects
◦ Errors
• GraphQL Test Environments
◦ The Test Server
◦ GitHub
◦ And Now, Onwards and Upwards!
• Basic Dynamic GraphQL in Android
◦ Dynamic vs. Static
◦ GraphQL and HTTP
◦ Using OkHttp for GraphQL
◦ Getting a Parsed Response
◦ Can’t We Do Better Than Maps of Objects?
• Basic Static GraphQL in Android
◦ Android Apps and Code Generation
◦ Introducing Apollo and Apollo-Android
◦ Using Apollo-Android
◦ Names and Apollo-Android
◦ Was All of This Worth It?
• Objects, Fields, and Types
◦ Introducing the GraphQL Schema Definition Language
◦ Objects
◦ Fields
◦ Data Types in GraphQL
◦ Type Modifiers
◦ Trip, In Schema Definition Language
• Fragments
◦ The Role of Fragments
◦ Creating a Fragment
◦ Using a Fragment
◦ Fragments, And Your Output
◦ Fragments and Your Android Code
◦ Where Apollo-Android Generated Code Gets Generated
• Arguments and Variables
◦ Arguments
◦ Variables
◦ Variables in Android
◦ A Little Bit of CRUD
• Aliases
◦ Applying Aliases
◦ One, Two, Many, Lots
◦ Aliases with Apollo-Android
◦ GraphQL Execution Rules
• Interfaces, Unions, and Inline Fragments
◦ Interfaces
◦ Unions
◦ Interfaces, Unions, and Apollo-Android
• Miscellaneous GraphQL Syntax
◦ Arguments on Nested Fields
◦ Directives
◦ Deprecations
• Introspection
◦ Adding a Type To Your Response
◦ Introspection Beyond the Type Name
• Authentication and the Viewer Pattern
◦ Convention Over Specification
◦ What You Get Stems From Who You Are
◦ Exploring GitHub’s Approach
• Queries and Paging
◦ Taking a Page from GitHub
◦ Examining the Query and Its Results
◦ Please, GitHub, Can I Have Some More?
◦ Paging with Apollo-Android
• Securing GraphQL
◦ Securing the Network
• Testing GraphQL
◦ Testing Using a Real Server
◦ Mocking the Apollo-Android Response
◦ Mocking the OkHttp Response
◦ Mocking the Server Response
• Advanced Apollo-Android
◦ Support for Scalar Types
[/spoiler]
[spoiler="Исходники примеров"]
https://github.com/commonsguy/cw-graphql[/spoiler]
[spoiler="Список книг"]
[*]
Mark L. Murphy - Elements Of Android Jetpack - 2021 (880), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Elements Of Kotlin Coroutines - 2021 (244), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Elements Of Kotlin - 2021 (418), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Elements Of Android Q - 2019 (96), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Exploring Android - 2021 (612), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Elements Of Android Room - 2021 (244), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Elements Of Android R - 2020 (141), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - The Busy Coder's Guide to Android Development - 2019 (4417, 978-0-9816780-0-9), PDF, EPUB, MOBI (Издательский макет или текст)[*]
Mark L. Murphy - Android's Architecture Components - 2019 (412), PDF, EPUB, MOBI (Издательский макет или текст)[/spoiler]