Java Questions

Submitted by: Submitted by

Views: 61

Words: 4688

Pages: 19

Category: Science and Technology

Date Submitted: 04/25/2014 08:00 AM

Report This Essay

 

Object Oriented Design Guidelines and Best Practices

G080 / Version 1.0

Release Date: 0610-May-Apr-2005

 

Document Title: Best Practices

Tata Document ID:

Version No: 0.31

Authors: Java CoE

Distribution List:

|Name |Role |

| | |

| | |

| | |

Approvers’ Names and Signatures:

|Approvers |

| |

| | | |

| |

Table of Contents

0 Object Oriented Design Guidelines and Best Practices 3

0.1 Purpose 3

0.2 Scope 3

0.3 Definitions and Acronyms 3

1 Object Oriented Design 4

1.1 Object Oriented Design Principles 4

1.1.1 One class – one concept 4

1.1.2 Objects represent behaviour, not data 4

1.1.3 Open/Close Principle - OCP 6

1.1.4 Dependency Inversion Principle 8

1.1.6 Interface Segregation Principle 9

1.1.7 Use Design Patterns 12

1.2 Importance of Package Design 13

1.2.1 Defining Packages 13

1.2.2 The Acyclic Dependency Principle (ADP) 13

1.2.3 The Stable Dependencies Principle (SDP) 14

1.2.4 Stable Abstractions Principle (SAP) 15

1.2.5 The Common Reuse Principle (CRP) 15

1.2.6 The Common...