Craft GraphQL APIs in Elixir with Absinthe (Pragprog)

absinthe
book-craft-graphql-apis-in-elixir-with-absinthe
pragprog
Tags: #<Tag:0x00007f8ea050b3c0> #<Tag:0x00007f8ea050b1e0> #<Tag:0x00007f8ea050b078>

#1

by Bruce Williams and Ben Wilson

Your domain is rich and interconnected, and your API should be too. Upgrade your web API to GraphQL, leveraging its flexible queries to empower your users, and its declarative structure to simplify your code. Absinthe is the GraphQL toolkit for Elixir, a functional programming language designed to enable massive concurrency atop robust application architectures. Written by the creators of Absinthe, this book will help you take full advantage of these two groundbreaking technologies. Build your own flexible, high-performance APIs using step-by-step guidance and expert advice you won’t find anywhere else.

GraphQL is a new way of structuring and building web services, and the result is transformational. Find out how to offer a more tailored, cohesive experience to your users, easily aggregate data from different data sources, and improve your back end’s maintainability with Absinthe’s declarative approach to defining how your API works.

Build a GraphQL-based API from scratch using Absinthe, starting from core principles. Learn the type system and how to expand your schema to suit your application’s needs. Discover a growing ecosystem of tools and utilities to understand, debug, and document your API. Take it to production, but do it safely with solid best practices in mind. Find out how complexity analysis and persisted queries can let you support your users flexibly, but responsibly too. Along the way, discover how Elixir makes all the difference for a high performance, fault-tolerant API. Use asynchronous and batching execution, or write your own custom add-ons to extend Absinthe. Go live with subscriptions, delivering data over websockets on top of Elixir (and Erlang/OTP’s) famous solid performance and real-time capabilities.

Transform your applications with the powerful combination of Elixir and GraphQL, using Absinthe.

Don’t forget you can get 35% off with your forum discount, use code ‘ElixirForum’ :023:

https://pragprog.com/book/wwgraphql/craft-graphql-apis-in-elixir-with-absinthe


Best pratices for add api to my existent phoenix 1.3 website
Complete "HOW TO GRAPHQL" tuts?
Authentication/authorization options for GraphQL subscriptions?
Adopting Elixir (Pragprog)
How to design app with JSON API and HTML interface?
#2

Congrats Ben (& Bruce) - I’m sure loads of people will find the book very helpful :023: (I’ve split your post into a dedicated thread and added further info) :slight_smile:

Members: Don’t forget you can get 25% off with your forum discount :023: (ElixirForum)


#3

Big congratulations Ben & Bruce, the work you do for the Elixir community is amazing! Can’t wait to give it a read :).


#4

Sigh, I needed this book end of last year when I did a POC of our config API. If you are taking suggestions, I wouldn’t mind more information on resolvers that don’t use Ecto. Especially about how to take the whole query into account so you can make a single query to a non-sql datastore. (Like datomic.)


#5

Somehow I missed this when you originally published, so I’ll take the opportunity to congratulate you and Bruce and wish you best of luck with getting it done!


#6

I am very eager to read it!

Until that time, let me just take a moment to say: What a beautiful cover image :heart_eyes: .


#7

Can’t have enough of these resources. Thanks Ben and Bruce for the effort. Instabuy


#8

Agreed, I’ll be picking it up on day one. Always good to have more reliable resources.


#9

I think the colours mixing on the cover should be Elixir indigo and Absinthe green.

PS: I missed the GraphQL fuchsia which also needs to be in there.


#10

I am looking forward to reading this book! In particular, I am curious about use-cases and patterns for developing with Subscriptions in graphql (background https://github.com/absinthe-graphql/absinthe/issues/156). Thanks for all your work and contributions to the ecosystem.


#11

Just an update folks, our elixirconf.eu talk is available now!


#12

I am seriously hanging out for this book. Any idea on a beta ETA?


#13

We’re committed to having it out prior to the Sept 5th ElixirConf, so we’re targetting mid August at this point.


#14

The first beta is finally released! Thank you Ben and Bruce for your great work!:+1:


#15

Purchased! Looking forward to it


#16

Purchased together with React for Real, 30usd for both with elixirforum coupon code, a steal!


#17

Purchased and enjoying it! Had experience building graphql servers in JS - building in elixir is a breath of fresh air.


#18

Just bought this book and really enjoying it!
Anyone interested in GraphQL, just go get it.


#19

Thanks!

We’re excited to say that it’s officially been sent to production! There will be one more beta that goes out that includes all the chapters, which also takes into account all the excellent final review feedback we received. It’s now gotta go through the copy editing process and some other stuff before printing, but we look forward to it being out in print!


#20

The latest beta is out! It includes the last chapter, which covers getting started with vanilla JS, Apollo, and Relay, including subscriptions!