API Design for C++ provides a comprehensive discussion of Application Programming Interface (API) development, from initial design through implementation, testing, documentation, release, versioning, maintenance, and deprecation. It is the only book that teaches the strategies of C++ API development, including interface design, versioning, scripting, and plug-in extensibility. Drawing from the author's experience on large scale, collaborative software projects, the text offers practical techniques of API design that produce robust code for the long term. It presents patterns and practices that provide real value to individual developers as well as organizations.
API Design for C++ explores often overlooked issues, both technical and non-technical, contributing to successful design decisions that product high quality, robust, and long-lived APIs. It focuses on various API styles and patterns that will allow you to produce elegant and durable libraries. A discussion on testing strategies concentrates on automated API testing techniques rather than attempting to include end-user application testing techniques such as GUI testing, system testing, or manual testing. Each concept is illustrated with extensive C++ code examples, and fully functional examples and working source code for experimentation are available online.
This book will be helpful to new programmers who understand the fundamentals of C++ and who want to advance their design skills, as well as to senior engineers and software architects seeking to gain new expertise to complement their existing talents. Three specific groups of readers are targeted: practicing software engineers and architects, technical managers, and students and educators.
- The only book that teaches the strategies of C++ API development, including design, versioning, documentation, testing, scripting, and extensibility.
- Extensive code examples illustrate each concept, with fully functional examples and working source code for experimentation available online.
- Covers various API styles and patterns with a focus on practical and efficient designs for large-scale long-term projects.
Table of contents
- Cover image
- Title page
- Table of Contents
- Author Biography
- Chapter 1. Introduction
- Chapter 2. Qualities
- Chapter 3. Patterns
- Chapter 4. Design
- Chapter 5. Styles
- Chapter 6. C++ Usage
- Chapter 7. Performance
- Chapter 8. Versioning
- Chapter 9. Documentation
- Chapter 10. Testing
- Chapter 11. Scripting
- Chapter 12. Extensibility
- Appendix A. Libraries
- Title: API Design for C++
- Release date: March 2011
- Publisher(s): Morgan Kaufmann
- ISBN: 9780123850041
You might also like
Large-Scale C++ Volume I: Process and Architecture
Writing reliable and maintainable C++ software is hard. Designing such software at scale adds a new …
Modern C++ Programming with Test-Driven Development
If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development …
Modern C++ Design: Generic Programming and Design Patterns Applied
Modern C++ Design is an important book. Fundamentally, it demonstrates ‘generic patterns’ or ‘pattern templates’ as …
Go is rapidly becoming the preferred language for building web services. There are plenty of tutorials …