Paperback: 188 pages
Publisher: Philip J. Sturgeon; 1 edition (August 12, 2015)
Product Dimensions: 7.4 x 0.4 x 9.7 inches
Shipping Weight: 12.6 ounces (View shipping rates and policies)
Average Customer Review: 4.5 out of 5 stars See all reviews (13 customer reviews)
Best Sellers Rank: #110,703 in Books (See Top 100 in Books) #22 in Books > Computers & Technology > Web Development & Design > Web Services
After watch Phil Sturgeon's API Pain Point talk, I knew I had struck gold. Not only is his tone conversational and humorous, but he has a wealth of experience dealing with the intricacies of APIs - and the "Bad Parts". This book has helped me in many ways including:1) Planning routes2) Interactive testing (using Postman)3) Dipping my toes into some BDD using Behat4) Informing me about JSON-API conventions5) Making pagination less of a strenuous exercise6) Thinking about embedded resources7) Pointing me to great docs regarding OAuth8) Giving a lucid description of HATEOAS9) Plugging his own amazing Fractal libraryAlthough there isn't a full 'cookbook' style - I appreciate the brevity as the author quotes Sweet Brown's infamous "Ain't nobody got time for that."
This book is a must-read for anyone that is remotely considering building APIs. It is full of great and practical advice you can start implementing right away, and offers useful insights from Phil's experience. It explains the concepts and best practices in a way that is not tied to any specific framework, library or even programming language, though it does include helpful recommendations for tools that can be of use for specific aspects of building APIs.(Bought the book via LeanPub)
This book walks you through the important decisions you need to make when building an API. Best of all, it is clear the author is speaking from personal experience on the right (and wrong) way to design your API. Many of the examples use PHP, Laravel and Fractal, but the advice is useful regardless of your programming language or framework. As a bonus, the writing style is engaging and entertaining.
Great introduction to API design and architecture if you're not too experienced with them. Definitely helps clarify a lot of the fuzzy area's you hear multiple different opinions about. Absolute must read if you're unsure on APIs at all.
Between this book & the documentation for OAuth Server from The PHP League (of which the author is a member), my questions regarding implementing an API were all answered. These are things that developers do every day but, until I found this book, I couldn't quite put my finger on a comprehensive collection of best practices. Beyond best practices, Sturgeon also describes where the big names (Facebook, Twitter, etc.) deviate from those practices and what he, himself, does at his day job.All in all, this book shows you the pitfalls to avoid and gives you the tools necessary to do so.
In "Build APIs You Won't Hate" Phil explains the pros and cons to various approaches across different components of writing a Web API. The book also covers what some APIs do poorly and how they can be improved. Phil shows code examples but also provides resources that also span different languages/and frameworks. Mr. Sturgeon's book won't build an API for you, but it'll set you off on the right foot. If you're anything like me you'll have a few chuckles while your at it. Even as an experienced developer and having both created and consumed numerous APIs I was still able to learn a lot from this book. I consider this "Building APIs You Won't Hate" a great resource in my arsenal.
Another great book by Phil Sturgeon. Building API's you wont hate has great explanations. After reading this book i am building my API first and my product second by utilizing my own API instead of the other-way around - it saves time.
Build APIs You Won't Hate: Everyone and their dog wants an API, so you should probably learn how to build them API Architecture: The Big Picture for Building APIs (API-University Series Book 2) RESTful API Design: Best Practices in API Design with REST (API-University Series Book 3) The Big Book of Words You Should Know: Over 3,000 Words Every Person Should be Able to Use (And a few that you probably shouldn't) Irresistible APIs: Designing web APIs that developers will love Twitter API: Up and Running: Learn How to Build Applications with the Twitter API 42 Guitar Chords Everyone Should Know: A Complete Step-By-Step Guide To Mastering 42 Of The Most Important Guitar Chords (Everyone Should Know Books) The API Economy: Disruption and the Business of APIs Italian men, love them or hate them Bonding with Your Rescue Dog: Decoding and Influencing Dog Behavior (Dog Training and Dog Care Series Book 1) Easy Homemade Dog Treat Recipes: Fun Homemade Dog Treats for the Busy Pet Lover (Dog Training and Dog Care Series Book 2) Dog Training: 50 Dog Smart Tricks (Free 130+ Dog Recipe Book Inside): Step by Step Activities for Full engagement, Fun and Increased Dog IQ Homemade Healthy Dog Food Food Recipes (Because Your Dog Deserves The Best All Natural Dog Food and Health Dog Recipes!) Electrical Engineering 101, Third Edition: Everything You Should Have Learned in School...but Probably Didn't An Incomplete Education: 3,684 Things You Should Have Learned but Probably Didn't OAuth 2.0: Getting Started in API Security (API-University Series Book 1) OAuth 2.0: Getting Started in Web-API Security (API University Series) (Volume 1) Pro ASP.NET Web API Security: Securing ASP.NET Web API (Expert's Voice in .NET) Statistics for People Who (Think They) Hate Statistics (Salkind, Statistics for People Who(Think They Hate Statistics(Without CD)) Learn German Step by Step: German Language Practical Guide for Beginners (Learn German, Learn Spanish, Learn French, Learn Italian)