Skip to main content Accessibility help
×
Hostname: page-component-7bb8b95d7b-2h6rp Total loading time: 0 Render date: 2024-10-01T02:16:49.627Z Has data issue: false hasContentIssue false

Chapter 2 - Understanding the Basics–Object-Oriented Concepts

Published online by Cambridge University Press:  03 March 2010

Scott W. Ambler
Affiliation:
Ronin International
Get access

Summary

Object-oriented concepts seem simple.

Don't be deceived.

You need to understand object-oriented (OO) concepts before you can successfully apply them to systems development. Because OO techniques grew, in part, out of the disciplines of software engineering, artificial intelligence, and information modeling, many of them will seem familiar to you. Do not let this make you complacent—you also need to understand several new concepts.

This chapter explores the following:

  • A brief overview of OO concepts;

  • OO concepts from a structured point of view;

  • The diagrams of the unified modeling language (UML 2);

  • Objects and classes;

  • Attributes and operations;

  • Abstraction, encapsulation, and information hiding;

  • Inheritance;

  • Persistence;

  • Relationships;

  • Collaboration;

  • Polymorphism;

  • Interfaces;

  • Components; and

  • Patterns.

A BRIEF OVERVIEW OF OO CONCEPTS

This chapter discusses the concepts that make up the foundation of OO development techniques. People experienced with structured technologies such as COBOL and FORTRAN will have seen some of these concepts before, and some will be new to you. For example, many concepts that go to the heart of OO—encapsulation, coupling, and cohesion—come from software engineering. These concepts are important because they underpin good design regardless of the technology you are working with. The main point to be made here is you do not want to deceive yourself: just because you have seen some of these concepts before, it does not mean you were doing OO; it just means you were doing good design. While good design is a big part of object orientation, there is a lot more to it than that.

OO concepts appear deceptively simple. Do not be fooled.

Type
Chapter
Information
The Object Primer
Agile Model-Driven Development with UML 2.0
, pp. 23 - 67
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×