Join thousands of book lovers
Sign up to our newsletter and receive discounts and inspiration for your next reading experience.
By signing up, you agree to our Privacy Policy.You can, at any time, unsubscribe from our newsletters.
APIs are transforming the business world at an increasing pace. Gain the essential skills needed to quickly design, build, and deploy quality web APIs that are robust, reliable, and resilient. Go from initial design through prototyping and implementation to deployment of mission-critical APIs for your organization.
Powerful web-based REST and hypermedia-style APIs are becoming more common every day, but instead of applying the same techniques and patterns to hypermedia clients, many developers rely on custom client code. With this practical guide, youll learn how to move from one-off implementations to general-purpose client apps that are stable, flexible, and reusable.Author Mike Amundsen provides extensive background, easy-to-follow examples, illustrative dialogues, and clear recommendations for building effective hypermedia-based client applications. Along the way, youll learn how to harness many of the basic principles that underpin the Web.Convert HTML-only web apps into a JSON API serviceOvercome the challenges of maintaining plain JSON-style client appsDecouple the output format from the internal object model with the representor patternExplore client apps built with HALHypertext Application LanguageTackle reusable clients with the Request, Parse, Wait Loop (RPW) patternLearn the pros and cons of building client apps with the Siren content typeDeal with API versioning by adopting a change-over-time aestheticCompare how JSON, HAL, Siren, and Collection+JSON clients handle the Objects/Addresses/Actions ChallengeCraft a single client application that can consume multiple services
With this concise book, youll learn the art of building hypermedia APIs that dont simply run on the Web, but that actually exist in the Web. Youll start with the general principles and technologies behind this architectural approach, and then dive hands-on into three fully-functional API examples.Too many APIs rely on concepts rooted in desktop and local area network patterns that dont scale wellcostly solutions that are difficult to maintain over time. This book shows system architects and web developers how to design and implement human- and machine-readable web services that remain stable and flexible as they scale.Learn the H-Factors for representing application metadata across all media types and formatsUnderstand the four basic design elements for authoring hypermedia typesConvert a simple read-only XML-based media type into a successful API designExamine the challenges and advantages of designing a hypermedia type with JSONUse HTML5s rich set of hypermedia controls in the API design processLearn the details of documenting, publishing, and registering media type designs and link-relation types
Sign up to our newsletter and receive discounts and inspiration for your next reading experience.
By signing up, you agree to our Privacy Policy.