Creating Maintainable APIs A Practical, Case-Study Approach
题名:
Creating Maintainable APIs A Practical, Case-Study Approach
ISBN:
9781484221969
个人著者:
版:
1st ed. 2016.
PRODUCTION_INFO:
Berkeley, CA : Apress : Imprint: Apress, 2016.
物理描述:
XIX, 293 p. 40 illus. in color. online resource.
内容:
1. Information Hiding and APIs -- 2. Modular Design -- 3. Designing Classes for Reuse -- 4. TDD as an API Design Technique -- 5. Identifying Resources -- 6. Versioning REST APIs -- 7. Encoding Actions on Resources -- 8. Implementing Synchronous and Asynchronous REST APIs -- 9. Documenting REST APIs -- 10. Testing REST APIs -- 11. Implementing Messaging APIs -- 12. Apache Kafka as a Messaging Hub -- 13. Testing Messaging APIs -- 14. Schema Based Messages -- 15. The Core JSON API -- 16. Evolving the JSON API -- 17. Katharsis.
摘要:
This book explains the importance of having straightforward and maintainable APIs in order for services to be usable and maintainable. Although, the focus is on services, this book also emphasizes how the core principles apply even to bare classes. The overall context of this book is to classify the topics into 4 main areas: classes and interfaces, HTTP REST APIs, messaging APIs, and message payloads (XML, JSON and JSON API as well as Apache Avro). Here is what you'll learn: What are Object-Oriented design constructs and their APIs How to create and manage the HTTP REST APIs How to create and manage maintainable messaging APIs, including the use of Apache Kafka ad a principle messaging hub How to handle message payloads via JSON mostly And more.
附加团体著者:
语言:
英文