Book Image

Hands-On RESTful API Design Patterns and Best Practices

By : Anupama Murali, Harihara Subramanian J, Pethuru Raj
Book Image

Hands-On RESTful API Design Patterns and Best Practices

By: Anupama Murali, Harihara Subramanian J, Pethuru Raj

Overview of this book

This book deals with the Representational State Transfer (REST) paradigm, which is an architectural style that allows networked devices to communicate with each other over the internet. With the help of this book, you’ll explore the concepts of service-oriented architecture (SOA), event-driven architecture (EDA), and resource-oriented architecture (ROA). This book covers why there is an insistence for high-quality APIs toward enterprise integration. It also covers how to optimize and explore endpoints for microservices with API gateways and touches upon integrated platforms and Hubs for RESTful APIs. You’ll also understand how application delivery and deployments can be simplified and streamlined in the REST world. The book will help you dig deeper into the distinct contributions of RESTful services for IoT analytics and applications. Besides detailing the API design and development aspects, this book will assist you in designing and developing production-ready, testable, sustainable, and enterprise-grade APIs. By the end of the book, you’ll be empowered with all that you need to create highly flexible APIs for next-generation RESTful services and applications.
Table of Contents (13 chapters)

Frameworks – a table of reference

The following table provides a quick reference of a few other prominent micro-frameworks, their features, and supported programming languages:

Language

Framework

Short description

Prominent features

Java

Blade

Fast and elegant MVC framework for Java8

Lightweight

High performance

Based on the MVC pattern

RESTful-style router interface

Built-in security

Java/Scala

Play Framework

High-velocity Reactive web

framework for Java and Scala

Lightweight, stateless, and web-friendly architecture

Built on Akka

Supports predictable and minimal resource-consumption for highly-scalable applications

Developer-friendly

Java

Ninja Web Framework

Full-stack web framework

Fast

Developer-friendly

Rapid prototyping

Plain vanilla Java, dependency injection, first-class IDE integration

Simple and fast to test (mocked tests...