API Design for C++

 
Edition number: 2
Publisher: Morgan Kaufmann
Date of Publication:
 
Normal price:

Publisher's listprice:
EUR 84.95
Estimated price in HUF:
35 054 HUF (33 385 HUF + 5% VAT)
Why estimated?
 
Your price:

28 043 (26 708 HUF + 5% VAT )
discount is: 20% (approx 7 011 HUF off)
Discount is valid until: 30 June 2024
The discount is only available for 'Alert of Favourite Topics' newsletter recipients.
Click here to subscribe.
 
Availability:

Not yet published.
 
  Piece(s)

 
Long description:

API Design for C++, Second Edition 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. The Second Edition includes all new material fully updated for the latest versions of C++, including a new chapter on concurrency and multithreading, as well as a new chapter discussing how Objective C++ and C++ code can co-exist and how a C++ API can be accessed from Swift programs. In addition, it explores often overlooked issues, both technical and non-technical, contributing to successful design decisions that produce 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.




  • Teaches the strategies of C++ API development, including design, versioning, documentation, testing, scripting, and extensibility
  • Includes extensive code examples that 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
  • Includes updated URLs and ensures all code examples continue to work with modern compilers and supporting tools


"Martin Reddy draws from his experience on large scale, collaborative software projects to present 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." --Eric Gregory, Software Architect, Pixar Animation Studios
Table of Contents:
1. Introduction What Are APIs? What's Different about API Design? Why Should You Use APIs? When Should You Avoid APIs? API Examples File Formats and Network Protocols About This Book
2. Qualities Model the Problem Domain Hide Implementation Details Minimally Complete Easy to Use Loosely coupled Stable, Documented, and Tested
3. Patterns Pimpl Idiom Singleton Factory Methods API Wrapping Patterns Observer Pattern
4. Design A Case for Good Design Gathering Functional Requirements Creating Use Cases Elements of API Design Architecture Design Class Design Function Design
5. Styles Flat C APIs Object-Oriented C++ APIs Template-Based APIs Data-Driven APIs
6. C++ Usage Namespaces Constructors and Assignment Const Correctness Templates Operator Overloading Function Parameters Avoid