Book description
You might think more than enough design books exist in the programming world already. In fact, there are so many that it makes sense to ask why you would read yet another. Is there really a need for yet another design book? In fact, there is a greater need than ever before, and Practical API Design: Confessions of a Java Framework Architect fills that need!
- Teaches you how to write an API that will stand the test of time
- Written by the designer of the NetBeans API at Sun Technologies
- Based on best practices, scalability, and API design patterns
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Author
- Acknowledgments
- Prologue: Yet Another Design Book?
-
Part 1: Theory and Justification
- Chapter 1: The Art of Building Modern Software
- Chapter 2: The Motivation to Create an API
- Chapter 3: Determining What Makes a Good API
- Chapter 4: Ever-Changing Targets
-
Part 2: Practical Design
- Chapter 5: Do Not Expose More Than You Want
-
Chapter 6: Code Against Interfaces, Not Implementations
- Removing a Method or a Field
- Removing or Adding a Class or an Interface
- Inserting an Interface or a Class into an Existing Hierarchy
- Adding a Method or a Field
- Comparing Java Interfaces and Classes
- In Weakness Lies Strength
- A Method Addition Lover’s Heaven
- Are Abstract Classes Useful?
- Getting Ready for Growing Parameters
- Interfaces vs. Classes
- Chapter 7: Use Modular Architecture
- Chapter 8: Separate APIs for Clients and Providers
- Chapter 9: Keep Testability in Mind
- Chapter 10: Cooperating with Other APIs
- Chapter 11: Runtime Aspects of APIs
- Chapter 12: Declarative Programming
- Part 3: Daily Life
- Epilogue: The Future
- Bibliography
- Index
Product information
- Title: Practical API Design
- Author(s):
- Release date: June 2008
- Publisher(s): Apress
- ISBN: None
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
Hands-On RESTful API Design Patterns and Best Practices
Build effective RESTful APIs for enterprise with design patterns and REST framework's out-of-the-box capabilities Key Features …
book
The Design of Web APIs
The Design of Web APIs is a practical, example-packed guide to crafting extraordinary web APIs. Author …
book
Designing Web APIs
Using a web API to provide services to application developers is one of the more satisfying …