Book description
Build effective RESTful APIs for enterprise with design patterns and REST framework's out-of-the-box capabilities
Key Features
- Understand advanced topics such as API gateways, API securities, and cloud
- Implement patterns programmatically with easy-to-follow examples
- Modernize legacy codebase using API connectors, layers, and microservices
Book Description
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.
What you will learn
- Explore RESTful concepts, including URI, HATEOAS, and Code on Demand
- Study core patterns like Statelessness, Pagination, and Discoverability
- Optimize endpoints for linked microservices with API gateways
- Delve into API authentication, authorization, and API security implementations
- Work with Service Orchestration to craft composite and process-aware services
- Expose RESTful protocol-based APIs for cloud computing
Who this book is for
This book is primarily for web, mobile, and cloud services developers, architects, and consultants who want to build well-designed APIs for creating and sustaining enterprise-class applications. You'll also benefit from this book if you want to understand the finer details of RESTful APIs and their design techniques along with some tricks and tips.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
-
Introduction to the Basics of RESTful Architecture
- Technical requirements
- Evolution of web technologies
-
Learning about Web 3.0
- Learning about web service architecture
- Discussing the web API
- Learning about service-oriented architecture
- Learning about resource-oriented architecture
- Beginning with REST
- REST architecture style constraints
- Layered systems
- RESTful service mandates
- Architectural goals of REST
- Summary
-
Design Strategy, Guidelines, and Best Practices
- Technical requirements
- Learning about REST API and its importance
- Goals of RESTful API design
- API designer roles and responsibilities
- API design best practices
- API design principles
- RESTful API design rules
- Summary
- Further reading
- Essential RESTful API Patterns
- Advanced RESTful API Patterns
-
Microservice API Gateways
- Technical requirements
- About microservice architecture
- The prominent infrastructure modules in microservice-centric applications
- About API gateway solutions
- API gateways for microservice-centric applications
- The issues with microservice API gateways
- Security features of API gateways
- Prominent API gateway solutions
- Service mesh versus API gateway
- Summary
-
RESTful Services API Testing and Security
- An overview of software testing
-
RESTful APIs and testing
- Basics of API testing
- Understanding API testing approaches
- API testing types
- REST API security vulnerabilities
- Causes of vulnerabilities
- Security tests
- Back to API testing
- CQRS
- Summary
- Further reading
-
RESTful Service Composition for Smart Applications
- Technical requirements
- The Representational State Transfer service paradigm
- Service orchestration and choreography
- Data management
- Summary
- RESTful API Design Tips
-
A More In-depth View of the RESTful Services Paradigm
- Technical requirements
- Tending toward the software-defined and software-driven world
- The REST paradigm for application modernization and integration
- SOAP versus REST
- Best practices for REST-based microservices
- Summary
- Further reading
-
Frameworks, Standard Languages, and Toolkits
- Technical requirements
- Core features of a framework
- Spring Boot
- Beginning about Light 4j
- Spark Framework
- Dropwizard
- Understanding Go framework for the RESTful API
- Python RESTful API frameworks
- Frameworks – a table of reference
- Summary
- Further reading
- Legacy Modernization to Microservices-Centric Apps
- Other Books You May Enjoy
Product information
- Title: Hands-On RESTful API Design Patterns and Best Practices
- Author(s):
- Release date: January 2019
- Publisher(s): Packt Publishing
- ISBN: 9781788992664
You might also like
book
API Design Patterns
A collection of best practices and design standards for web and internal APIs. In API Design …
book
Principles of Web API Design: Delivering Value with APIs and Microservices
The Full-Lifecycle Guide to API Design brings together principles and processes to help you succeed across …
book
RESTful Web API Patterns and Practices Cookbook
Many organizations today orchestrate and maintain apps that rely on other people's services. Software designers, developers, …
video
Understanding APIs and RESTful APIs Crash Course
This course will help you understand what APIs and RESTful APIs are and how they work. …