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, checking out, documentation, free up, versioning, upkeep, and deprecation. The booklet specializes in the problems of designing APIs for a unmarried language (C++), which continues to be the most regularly occurring programming languages for giant software program tasks.
The booklet additionally covers really good API issues, equivalent to developing scripting and plug-in APIs, with emphasis on API layout. A dialogue on trying out suggestions concentrates on computerized API checking out concepts instead of trying to contain end-user software checking out thoughts corresponding to GUI trying out, process checking out, or guide checking out.
The ebook may be invaluable to new programmers who comprehend the basics of C++ and who are looking to increase their layout talents, in addition to senior engineers and software program architects looking to achieve new services to enrich their latest abilities. 3 particular teams of readers are precise: practising software program engineers and designers, technical managers, and scholars and educators.
• the single e-book that teaches the ideas of C++ API improvement, together with layout, versioning, documentation, trying out, scripting, and extensibility.
• huge code examples illustrate each one idea, with absolutely useful examples and dealing resource code for experimentation to be had online.
• Covers quite a few API kinds and styles with a spotlight on useful and effective designs for large-scale long term initiatives.
Read or Download API Design for C++ PDF
Similar software design books
Recipient of the 1997 Jolt Award.
The developer of the acclaimed Eiffel programming language comes via with one of many clearest and so much informative books approximately desktops ever devoted to paper. Object-Oriented software program building is the gospel of object-oriented know-how and it merits to be unfold in every single place. Meyer opens with assurance of the desire for an object-oriented method of software program improvement, bringing up enhanced caliber and improvement pace as key benefits of the technique. He then explains the entire key standards that outline an item- orientated method of an issue. Meyer can pay recognition to ideas, equivalent to sessions, items, reminiscence administration, and extra, returning to each one method and sharpening his readers' wisdom of it as he explains the best way to hire it "well. " In a piece on complex subject matters, Meyer explores attention-grabbing and proper issues, corresponding to chronic gadgets saved in a database. He additionally bargains a kind of "Do and Don't" part during which he enumerates universal error and how one can keep away from them. administration details 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 the entire key object-oriented languages, together with Java. He additionally covers the capability of simulating item know-how in non-object-oriented languages, corresponding to Pascal and Fortran. The better half CD-ROM contains the total textual content of this e-book in hypertext shape, in addition to a few instruments for designing object-oriented structures. in case you software pcs, you have to learn this ebook.
In Max/MSP/Jitter for song, specialist writer and song technologist V. J. Manzo offers a straightforward advent to a strong programming language that may be used to put in writing customized software program for musical interplay. via transparent, step by step directions illustrated with a variety of examples of operating platforms, the ebook equips you with every thing you want to recognize with a view to layout and whole significant song tasks.
The number one WPF Book--Now up-to-date for WPF four. five!
Thorough, authoritative assurance, sensible examples, transparent writing, and full-color presentation make this the most broadly acclaimed programming books of the decade.
Windows Presentation beginning (WPF) is the suggested know-how for developing smooth home windows laptop apps. even if you need to improve conventional person interfaces or combine 3D photos, audio/video, animation, dynamic skinning, contact, wealthy rfile aid, speech acceptance, or extra, WPF helps you to achieve this in a continuing, resolution-independent demeanour that scales from small pills to massive TVs. WPF four. five Unleashed is the authoritative e-book that covers all of it, in a realistic and approachable type, authored via WPF guru and Microsoft architect Adam Nathan.
Covers every little thing you want to find out about Extensible software Markup Language (XAML)
Examines the WPF characteristic parts in superb intensity: controls, structure, assets, info binding, styling, portraits, animation, and more
Delves into subject matters that aren’t coated through such a lot books: 3D, speech, audio/video, files, effects
Shows how you can create renowned UI components and leverage integrated controls comparable to the recent Office-style Ribbon
Demonstrates how one can create refined UI mechanisms, akin to visible Studio-like collapsible/dockable panes
Explains how one can create top quality customized controls for WPF
Demonstrates how you can create hybrid WPF software program that leverages home windows kinds, DirectX, ActiveX, or different non-WPF technologies
Explains tips on how to take advantage of computer positive factors, akin to bounce Lists and taskbar customizations, and an analogous toast notifications utilized by home windows shop apps
Coping with High-Tech Start-Ups equips engineers with a uncomplicated tool-kit for founding a high-tech production corporation. It offers would-be marketers insightful wisdom on the best way to assault such difficulties as constructing a advertising and marketing plan, a revenues plan, ambitions, pricing, hiring a revenues strength, comparing advertising and marketing effects, and correcting difficulties.
Additional resources for API Design for C++
However, a good rule of thumb is that whenever you have a file format or a client/server protocol, you should also have an associated API to manage changes to that specification. 7 About this book 17 TIP Whenever you create a file format or client/server protocol, you should also create an API for it. This allows details of the specification, and any future changes to it, to be centralized and hidden. For example, if you specify a file format for your application’s data, you should also write an API to allow reading and writing files in that format.
21 22 CHAPTER 2 Qualities non-programmer and that person should be able to understand the concepts of the interface and how it is meant to work. Furthermore, it should be apparent to the non-technical reader that the group of operations provided by the API makes sense and belongs together as a unit. Each class should have a central purpose, which should be reflected in the name of the class and its methods. In fact, it’s good practice to have another person review your API early on to make sure that it presents a logical interface to fresh eyes.
This page intentionally left blank CHAPTER Qualities 2 This chapter aims to answer the following question: What are the basic qualities of a good API? Most developers would agree that a good API should be elegantly designed but still highly usable. It should be a joy to use but also fade into the background (Henning, 2009). These are fine qualitative statements, but what are the specific design aspects that enable these? Obviously every API is different; however, there are certain qualities that promote high-quality API design and should be adhered to whenever possible, as well as many that make for poor designs that should be avoided.