Practical API Design: Confessions of a Java Framework Architect

  • 9h 42m
  • Jaroslav Tulach
  • Apress
  • 2008

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
  • Based on best practices, scalability, and API design patterns

What you’ll learn

  • What an API is and what the theories are behind good API design
  • When and why to build an API
  • API design patterns applicable to all programming languages, especially modern, object–oriented languages
  • How to optimize and test APIs

About the Author

JAROSLAV TULACH is the founder and initial architect of NetBeans, which was later acquired by Sun. As creator of the technology behind NetBeans, he is still with the project to find ways to improve the design skills among all the programmers who contribute to the success of the NetBeans open source project.

In this Book

  • Prologue—Yet Another Design Book?
  • The Art of Building Modern Software
  • The Motivation to Create an API
  • Determining What Makes a Good API
  • Ever-Changing Targets
  • Do Not Expose More Than You Want
  • Code Against Interfaces, Not Implementations
  • Use Modular Architecture
  • Separate APIs for Clients and Providers
  • Keep Testability in Mind
  • Cooperating with other APIs
  • Runtime Aspects of APIs
  • Declarative Programming
  • Extreme Advice Considered Harmful
  • Paradoxes of API Design
  • Evolving the API Universe
  • Teamwork
  • Using Games to Improve API Design Skills
  • Extensible Visitor Pattern Case Study
  • End-of-Life Procedures
  • Epilogue—The Future
  • Bibliography
SHOW MORE
FREE ACCESS