API Design for C++ by Martin Reddy

By Martin Reddy

Publish yr note: First released in 1996
------------------------

API layout for C++ presents a accomplished dialogue of software Programming Interface (API) improvement, from preliminary layout via implementation, trying out, documentation, free up, versioning, upkeep, and deprecation. The ebook specializes in the problems of designing APIs for a unmarried language (C++), which is still probably the most general programming languages for big software program tasks.

The ebook additionally covers really good API issues, similar to developing scripting and plug-in APIs, with emphasis on API layout. A dialogue on trying out techniques concentrates on computerized API checking out options instead of trying to contain end-user program checking out ideas akin to GUI trying out, approach trying out, or guide checking out.

The booklet could be valuable to new programmers who comprehend the basics of C++ and who are looking to develop their layout talents, in addition to senior engineers and software program architects trying to achieve new services to enrich their present abilities. 3 particular teams of readers are specified: practising software program engineers and designers, technical managers, and scholars and educators.
• the one booklet that teaches the concepts of C++ API improvement, together with layout, versioning, documentation, trying out, scripting, and extensibility.
• huge code examples illustrate each one thought, with totally practical examples and dealing resource code for experimentation to be had online.
• Covers numerous API types and styles with a spotlight on sensible and effective designs for large-scale long term initiatives.

Show description

Read Online or Download API Design for C++ PDF

Best software design books

An Integrated Approach to Software Engineering (3rd Edition)

Executing any software program undertaking calls for talents in key dimensions— engineering and venture administration. whereas engineering bargains with problems with structure, layout, coding, trying out, and so on. , undertaking administration offers with making plans, tracking, probability administration, and so forth. as a result, this booklet makes a speciality of those dimensions, and for key initiatives in every one, discusses strategies and strategies that may be utilized successfully on initiatives.

Object-Oriented Software Construction (2nd Edition)

Recipient of the 1997 Jolt Award.
The developer of the acclaimed Eiffel programming language comes via with one of many clearest and such a lot informative books approximately desktops ever dedicated to paper. Object-Oriented software program building is the gospel of object-oriented expertise and it merits to be unfold in every single place. Meyer opens with insurance of the desire for an object-oriented method of software program improvement, mentioning superior caliber and improvement pace as key merits of the technique. He then explains the entire key standards that outline an item- orientated method of an issue. Meyer will pay awareness to options, similar to periods, items, reminiscence administration, and extra, returning to every one approach and sharpening his readers' wisdom of it as he explains easy methods to hire it "well. " In a piece on complex themes, Meyer explores attention-grabbing and suitable subject matters, similar to chronic gadgets saved in a database. He additionally deals a type of "Do and Don't" part during which he enumerates universal error and how one can steer clear of them. administration info isn't the most element of Object-Oriented software program building, yet you'll locate a few in its pages. Meyer concludes his travel de strength with comparisons of all of the key object-oriented languages, together with Java. He additionally covers the capability of simulating item expertise in non-object-oriented languages, resembling Pascal and Fortran. The spouse CD-ROM contains the complete textual content of this e-book in hypertext shape, in addition to a few instruments for designing object-oriented structures. in the event you application pcs, you have to learn this publication.

Max/MSP/Jitter for Music: A Practical Guide to Developing Interactive Music Systems for Education and More

In Max/MSP/Jitter for tune, specialist writer and track technologist V. J. Manzo offers a uncomplicated creation to a robust programming language that may be used to write down customized software program for musical interplay. via transparent, step by step directions illustrated with a number of examples of operating structures, the e-book equips you with every little thing you want to recognize to be able to layout and entire significant tune tasks.

Database: Models, Languages, Design

Finished, particular, and obtainable, Database: types, Languages, layout is a perfect textual content for the introductory computing device technology path in database idea. it will possibly additionally function a self-study advisor for database practitioners. via his priceless association of the cloth and his finished, lucid factors of the thoughts, Johnson presents a transparent advent to either conventional and sleek themes in database conception.

Additional resources for API Design for C++

Sample text

Doing so will offer you the following benefits. • Hides implementation. By hiding the implementation details of your module, you gain the flexibility to change the implementation at a future date without causing upheaval for your users. Without doing so, you will either (i) restrict yourself in terms of the updates you can make to your code or (ii) force your users to rewrite their code in order to adopt new versions of your library. If you make it too onerous for your clients to update to new versions of your software, then it’s highly likely that they will either not upgrade at all or look elsewhere for an API that will not be as much work for them to maintain.

Dll) files that provide the API implementations for you to link your application against. However, an SDK may include other resources to help you use the APIs, such as documentation, example source code, and supporting tools. As an example, Apple publishes various iPhone APIs that let you write applications that run on iPhone, iPod Touch, and iPad devices. Examples include the UIKit user interface API, the WebKit API to embed Web browser functionality in your applications, and the Core Audio API for audio services.

However, if done well, the long-term cost can be substantially mitigated because you have the ability to make radical changes and improvements to your software without disrupting your clients. That is, your development velocity can be greater due to the increased flexibility that the API affords you. 6 CHAPTER 1 Introduction • • The need for good documentation is paramount when writing an API, particularly if you do not provide the source code for your implementation. Users can look at your header files to glean how to use it, but this does not define the behavior of the API, such as acceptable input values or error conditions.

Download PDF sample

Rated 4.61 of 5 – based on 28 votes