Benutzerdefiniertes Cover
Benutzerdefiniertes Cover
Normale Ansicht MARC-Ansicht ISBD

API design for C++ / Martin Reddy

Von: Resource type: Ressourcentyp: Buch (Online)Buch (Online)Sprache: Englisch Verlag: San Francisco : Elsevier Science & Technology, c2011Auflage: Online-AusgBeschreibung: Online-Ressource (1 online resource (xxv, 441 p.)) : illISBN:
  • 9781282994256
  • 1282994255
  • 9780123850041
Schlagwörter: Andere physische Formen: 0123850037 | 9780123850041 | 9780123850034 | 1282986147 | Erscheint auch als: API design for C++. Druck-Ausgabe Amsterdam : Morgan Kaufmann, 2011. XXV, 441 S.DDC-Klassifikation:
  • 005.133
  • 005.13/3
RVK: RVK: ST 280 | ST 250LOC-Klassifikation:
  • QA76.76.A63
Online-Ressourcen: Zusammenfassung: Front Cover -- API Design for C++ -- Copyright -- Contents -- Foreword -- Preface -- Why You Should Read This Book -- Who is the Target Audience -- Focusing On C++ -- Conventions -- Book Web Site -- Acknowledgments -- Author Biography -- Chapter 1: Introduction -- 1.1 What are Application Programming Interfaces? -- 1.1.1 Contracts and Contractors -- 1.1.2 APIs in -- 1.2 What's Different About Api Design? -- 1.3 Why Should you Use APIs? -- 1.3.1 More Robust Code -- 1.3.2 Code Reuse -- 1.3.3 Parallel Development -- 1.4 When Should you Avoid APIs? -- 1.5 Api Examples -- 1.5.1 Layers of APIs -- 1.5.2 A Real-Life Example -- 1.6 File Formats and Network Protocols -- 1.7 About this Book -- Chapter 2: Qualities -- 2.1 Model the Problem Domain -- 2.1.1 Provide a Good Abstraction -- 2.1.2 Model the Key Objects -- 2.2 Hide Implementation Details -- 2.2.1 Physical Hiding: Declaration versus Definition -- 2.2.2 Logical Hiding: Encapsulation -- 2.2.3 Hide Member Variables -- 2.2.4 Hide Implementation Methods -- 2.2.5 Hide Implementation Classes -- 2.3 Minimally Complete -- 2.3.1 Don't Overpromise -- 2.3.2 Add Virtual Functions Judiciously -- 2.3.3 Convenience APIs -- 2.4 Easy to Use -- 2.4.1 Discoverable -- 2.4.2 Difficult to Misuse -- 2.4.3 Consistent -- 2.4.4 Orthogonal -- 2.4.5 Robust Resource Allocation -- 2.4.6 Platform Independent -- 2.5 Loosely Coupled -- 2.5.1 Coupling by Name Only -- 2.5.2 Reducing Class Coupling -- 2.5.3 Intentional Redundancy -- 2.5.4 Manager Classes -- 2.5.5 Callbacks, Observers, and Notifications -- Callbacks -- Observers -- Notifications -- 2.6 Stable, Documented, and Tested -- Chapter 3: Patterns -- 3.1 Pimpl Idiom -- 3.1.1 Using Pimpl -- 3.1.2 Copy Semantics -- 3.1.3 Pimpl and Smart Pointers -- 3.1.4 Advantages of Pimpl -- 3.1.5 Disadvantages of Pimpl -- 3.1.6 Opaque Pointers in C -- 3.2 Singleton.PPN: PPN: 809219751Package identifier: Produktsigel: ZDB-26-MYL | ZDB-30-PAD | ZDB-30-PQE
Dieser Titel hat keine Exemplare