Large-Scale C++ Software Design, 1st edition

Published by Addison-Wesley Professional (July 10, 1996) © 1997

  • John Lakos

Paperback

ISBN-13: 9780201633627
Large-Scale C++ Software Design
Published 1996

Details

  • A print text
  • Free shipping
  • Also available for purchase as an ebook from all major ebook resellers, including InformIT.com
Classroom in a Book®, the best-selling series of hands-on software training workbooks, offers what no other book or training program does–an official training series from Adobe, developed with the support of Adobe product experts.

Adobe XD CC Classroom in a Book (2019 release) contains 10 lessons that cover the basics and beyond, providing countless tips and techniques to help students become more productive with the program.
Purchasing this book includes valuable online extras. Follow the instructions in the book’s “Getting Started” section to unlock access to:
  • Downloadable lesson files needed to work through the projects in the book
  • Web Edition containing the complete text of the book, interactive quizzes, videos that walk you through the lessons step by step, and updated material covering new feature releases from Adobe


Preface.


0. Introduction.

From C to C++.

Using C++ to Develop Large Projects.

Reuse.

Quality.

Software Development Tools.

Summary.

I. BASICS.

1. Preliminaries.

Multi-File C++ Programs.

typedef Declarations.

Assert Statements.

A Few Matters of Style.

Iterators.

Logical Design Notation.

Inheritance versus Layering.

Minimality.

Summary.

2. Ground Rules.

Overview.

Member Data Access.

The Global Name Space.

Include Guards.

Redundant Include Guards.

Documentation.

Identifier-Naming Conventions.

Summary.

II. PHYSICAL DESIGN CONCEPTS.

3. Components.

Components versus Classes.

Physical Design Rules.

The DependsOn Relation.

Implied Dependency.

Extracting Actual Dependencies.

Friendship.

Summary.

4. Physical Hierarchy.

A Metaphor for Software Testing.

A Complex Subsystem.

The Difficulty in Testing “Good” Interfaces.

Design for Testability.

Testing in Isolation.

Acyclic Physical Dependencies.

Level Numbers.

Hierarchical and Incremental Testing.

Testing a Complex Subsystem.

Testing versus Tested.

Cyclic Physical Dependencies.

Cumulative Component Dependency (CCD).

Physical Design Quality.

Summary.

5. Levelization.

Some Causes of Cyclic Physical Dependencies.

Escalation.

Demotion.

Opaque Pointers.

Dumb Data.

Redundancy.

Callbacks.

Manager Class.

Factoring.

Escalating Encapsulation.

Summary.

6. Insulation.

From Encapsulation to Insulation.

C++ Constructs and Compile-Time Coupling.

Partial Insulation Techniques.

Total Insulation Techniques.

The Procedural Interface.

To Insulate or Not to Insulate.

Summary.

7. Packages.

From Components to Packages.

Registered Package Prefixes.

Package Levelization.

Package Insulation.

Package Groups.

The Release Process.

The main Program.

Start-Up Time.

Summary.

III. LOGICAL DESIGN ISSUES.

8. Architecting a Component.

Abstractions and Components.

Component Interface Design.

Degrees of Encapsulation.

Auxiliary Implementation Classes.

Summary.

9. Designing a Function.

Function Specification.

Fundamental Types Used in the Interface.

Special Case Functions.

Summary.

10. Implementing an Object.

Member Data.

Function Definitions.

Memory Management.

Using C++ Templates in Large Projects.

Summary.

Appendix A. Protocol Hierarchy.

Appendix B. Implementing an ANSI C-Compatible C++ Interface.

Appendix C. A Dependency Extractor/Analyzer Package.

Appendix D. Quick Reference.

Index. 0201633620T04062001

Need help? Get in touch