SlideShare ist ein Scribd-Unternehmen logo
1 von 16
OOAD
CRC Cards
Identifying Classes
• Perform a “grammatical parse” on a
description of the system to be built.
• Classes are determined by underlining each
noun or noun clause and entering it in a
simple list –these are candidate classes.
• Synonyms should be noted.
Identifying Classes
• Use Case Scenario
Customer confirms items in shopping cart.
Customer provides payment and address to
process sale. System validates payment and
responds by confirming order and provides
order number that Customer can use to check
on order status. System will send Customer a
copy of order details by email.
Identifying Classes
• Use Case Scenario
Customer confirms items in shopping cart.
Customer provides payment and address to
process sale. System validates payment and
responds by confirming order and provides
order number that Customer can use to check
on order status. System will send Customer a
copy of order details by email.
Identifying Classes
• Noun List
Customer Order
Item Order Number
Shopping cart Order Status
Payment Order Details
Address Email
Sale System
Identifying Class Relationships
Payment
Shopping Cart ItemCustomer
Order Email
uses contains
places
paid by
*1
multiplicity
Conceptual Object Model
Identifying Responsibilities
• Use Case Scenario
Customer confirms items in shopping cart. Customer
provides payment and address to process sale.
System validates payment and responds by
confirming order and provides order number that
Customer can use to check on order status. System
will send Customer a copy of order details by email.
Identifying Responsibilities
• Use Case Scenario
Customer confirms items in shopping cart. Customer
provides payment and address to process sale.
System validates payment and responds by
confirming order and provides order number that
Customer can use to check on order status. System
will send Customer a copy of order details by email.
Confirms items Confirm order
Provide payment and address Provide order number
Process sale Check order status
Validate payment Send order details email
Assigning Responsibilities
get status
Confirms items
Provide payment and address
Process sale
Validate payment
Confirm order
Provide order number
Check order status
Send order details email
Paymen
t
Shopping
Cart
ItemCustomer
Order Email
Display totals
Set payment and
Address detail
Process order
Validate payment
Confirm order
Get order number
Get status
Create order confirmation email
Send email
✓
✓
✓
✓
✓
✓
✓
✓
CRC Cards
• An index card that is use to represent
– A class
– the responsibilities of classes and
– the interaction between the classes.
• An informal approach to object oriented modeling.
• The cards are created through scenarios, based on the
system requirements, that model the behavior of the
system.
• The name CRC comes from Class, Responsibilities, and
Collaborators which the creators found to be the
essential dimensions of object oriented modeling.
CRC Cards
• Class Responsibility Collaborator (CRC cards) are a
brainstorming tool used in the design of object-
oriented software.
CRC Cards
Payment
Responsibility Collaborator
Set payment and
Address detail
Order
Validate payment
Payment
Responsibility Collaborator
Set payment
and
Address detail
Order
Validate
payment
Customer
Responsibility Collaborato
r
Shopping
Cart
Item
Shopping Cart
Responsibility Collaborato
r
Display Totals Customer
Item
Item
Responsibility Collaborato
r
Shopping
Cart
Order
Email
Responsibility Collaborator
Send email Order
Order
Responsibility Collaborato
r
Process order Customer
Confirm order Item
Get order
number
Payment
Get status Email
Create order
confirmation
email
Payment
Responsibility Collaborator
Set payment
and
Address detail
Order
Validate
payment
Customer
Responsibility Collaborato
r
Shopping
Cart
Item
Shopping Cart
Responsibility Collaborato
r
Display Totals Customer
Item
Item
Responsibility Collaborato
r
Shopping
Cart
Order
Email
Responsibility Collaborator
Send email Order
Order
Responsibility Collaborato
r
Process order Customer
Confirm order Item
Get order
number
Payment
Get status Email
Create order
confirmation
email
Why uses CRC cards?
• They are portable. No computers are required
so they can be used anywhere.
• The allow the participants to experience first
hand how the system will work. No computer
tool can replace the interaction that happens by
physically picking up the cards and playing the
roll of that object.
• The are a useful tool for teaching people the
object-oriented paradigm.

Weitere ähnliche Inhalte

Andere mochten auch

Structured systems analysis and design methodology
Structured systems analysis and design methodologyStructured systems analysis and design methodology
Structured systems analysis and design methodologyVatsana Technologies Pte Ltd
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using ComputerDavid Livingston J
 
FINITE STATE MACHINE AND CHOMSKY HIERARCHY
FINITE STATE MACHINE AND CHOMSKY HIERARCHYFINITE STATE MACHINE AND CHOMSKY HIERARCHY
FINITE STATE MACHINE AND CHOMSKY HIERARCHYnishimanglani
 
Machine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewMachine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewVincenzo Lomonaco
 
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017Vytautas Čyras
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence Muhammad Ahad
 
Akka Finite State Machine
Akka Finite State MachineAkka Finite State Machine
Akka Finite State MachineKnoldus Inc.
 
Finite State Machine | Computer Science
Finite State Machine | Computer ScienceFinite State Machine | Computer Science
Finite State Machine | Computer ScienceTransweb Global Inc
 

Andere mochten auch (13)

Structured systems analysis and design methodology
Structured systems analysis and design methodologyStructured systems analysis and design methodology
Structured systems analysis and design methodology
 
Problem solving using Computer
Problem solving using ComputerProblem solving using Computer
Problem solving using Computer
 
FINITE STATE MACHINE AND CHOMSKY HIERARCHY
FINITE STATE MACHINE AND CHOMSKY HIERARCHYFINITE STATE MACHINE AND CHOMSKY HIERARCHY
FINITE STATE MACHINE AND CHOMSKY HIERARCHY
 
Machine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An OverviewMachine Learning for Automated Reasoning: An Overview
Machine Learning for Automated Reasoning: An Overview
 
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017
Visualization of Hajime Yoshino’s Logical Jurisprudence. IRIS 2017
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Akka Finite State Machine
Akka Finite State MachineAkka Finite State Machine
Akka Finite State Machine
 
Structured Analysis and Structured Design
Structured Analysis and Structured DesignStructured Analysis and Structured Design
Structured Analysis and Structured Design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Introduction to Prolog
Introduction to PrologIntroduction to Prolog
Introduction to Prolog
 
Finite State Machines - Why the fear?
Finite State Machines - Why the fear?Finite State Machines - Why the fear?
Finite State Machines - Why the fear?
 
Finite State Machine | Computer Science
Finite State Machine | Computer ScienceFinite State Machine | Computer Science
Finite State Machine | Computer Science
 
Cldch8
Cldch8Cldch8
Cldch8
 

Ähnlich wie Slide 3 musfique

TitleABC123 Version X1Comparison ShoppingQRB501 Ve
TitleABC123 Version X1Comparison ShoppingQRB501 VeTitleABC123 Version X1Comparison ShoppingQRB501 Ve
TitleABC123 Version X1Comparison ShoppingQRB501 VeTakishaPeck109
 
Sales and Service Process Maps.ppt
Sales and Service Process Maps.pptSales and Service Process Maps.ppt
Sales and Service Process Maps.pptJoeyVillaceran1
 
sap sd tutorial syllabus list on study students helps
sap sd tutorial syllabus list on study students helpssap sd tutorial syllabus list on study students helps
sap sd tutorial syllabus list on study students helpshari286093
 
Gharpay rest documentation
Gharpay rest documentationGharpay rest documentation
Gharpay rest documentationDebjeet Biswas
 
SharePoint, ADFS and Claims Auth
SharePoint, ADFS and Claims AuthSharePoint, ADFS and Claims Auth
SharePoint, ADFS and Claims AuthKashif Imran
 
BA 65 Hour 5 ~ Creating an Ecommerce Site
BA 65 Hour 5 ~ Creating an Ecommerce SiteBA 65 Hour 5 ~ Creating an Ecommerce Site
BA 65 Hour 5 ~ Creating an Ecommerce Sitedpd
 
04 intro erp_using_gbi_slides_sd_en_v2.01
04 intro erp_using_gbi_slides_sd_en_v2.0104 intro erp_using_gbi_slides_sd_en_v2.01
04 intro erp_using_gbi_slides_sd_en_v2.01Monojit Banerjee
 
Quick Dry Cleaning Software
Quick Dry Cleaning SoftwareQuick Dry Cleaning Software
Quick Dry Cleaning SoftwareRachit Ahuja
 
E Commerce: Its role and development
E Commerce: Its role and developmentE Commerce: Its role and development
E Commerce: Its role and developmentAnubha Rastogi
 
XYZ Co. | 3 Eyed Ravens | BIT FEST
XYZ Co. | 3 Eyed Ravens | BIT FESTXYZ Co. | 3 Eyed Ravens | BIT FEST
XYZ Co. | 3 Eyed Ravens | BIT FESTMobin Mithun
 
Altus Alliance 2016 - Expense Requests
Altus Alliance 2016 - Expense RequestsAltus Alliance 2016 - Expense Requests
Altus Alliance 2016 - Expense RequestsSparkrock
 
Design better forms – UXBristol
Design better forms  – UXBristolDesign better forms  – UXBristol
Design better forms – UXBristolSjors Timmer
 

Ähnlich wie Slide 3 musfique (20)

TitleABC123 Version X1Comparison ShoppingQRB501 Ve
TitleABC123 Version X1Comparison ShoppingQRB501 VeTitleABC123 Version X1Comparison ShoppingQRB501 Ve
TitleABC123 Version X1Comparison ShoppingQRB501 Ve
 
Sales and Service Process Maps.ppt
Sales and Service Process Maps.pptSales and Service Process Maps.ppt
Sales and Service Process Maps.ppt
 
sap sd tutorial syllabus list on study students helps
sap sd tutorial syllabus list on study students helpssap sd tutorial syllabus list on study students helps
sap sd tutorial syllabus list on study students helps
 
Gharpay rest documentation
Gharpay rest documentationGharpay rest documentation
Gharpay rest documentation
 
SharePoint, ADFS and Claims Auth
SharePoint, ADFS and Claims AuthSharePoint, ADFS and Claims Auth
SharePoint, ADFS and Claims Auth
 
E commerce
E commerceE commerce
E commerce
 
Purchasing 11i.5.10 Training
Purchasing 11i.5.10 TrainingPurchasing 11i.5.10 Training
Purchasing 11i.5.10 Training
 
BA 65 Hour 5 ~ Creating an Ecommerce Site
BA 65 Hour 5 ~ Creating an Ecommerce SiteBA 65 Hour 5 ~ Creating an Ecommerce Site
BA 65 Hour 5 ~ Creating an Ecommerce Site
 
E commerce portal
E commerce portalE commerce portal
E commerce portal
 
04 intro erp_using_gbi_slides_sd_en_v2.01
04 intro erp_using_gbi_slides_sd_en_v2.0104 intro erp_using_gbi_slides_sd_en_v2.01
04 intro erp_using_gbi_slides_sd_en_v2.01
 
Quick Dry Cleaning Software
Quick Dry Cleaning SoftwareQuick Dry Cleaning Software
Quick Dry Cleaning Software
 
PragmasysConsulting
PragmasysConsultingPragmasysConsulting
PragmasysConsulting
 
Quick Dry Cleaning Software
Quick Dry Cleaning SoftwareQuick Dry Cleaning Software
Quick Dry Cleaning Software
 
Distribution Management
Distribution ManagementDistribution Management
Distribution Management
 
E Commerce: Its role and development
E Commerce: Its role and developmentE Commerce: Its role and development
E Commerce: Its role and development
 
Quick dry cleaning software
Quick dry cleaning softwareQuick dry cleaning software
Quick dry cleaning software
 
XYZ Co. | 3 Eyed Ravens | BIT FEST
XYZ Co. | 3 Eyed Ravens | BIT FESTXYZ Co. | 3 Eyed Ravens | BIT FEST
XYZ Co. | 3 Eyed Ravens | BIT FEST
 
Altus Alliance 2016 - Expense Requests
Altus Alliance 2016 - Expense RequestsAltus Alliance 2016 - Expense Requests
Altus Alliance 2016 - Expense Requests
 
Apparel business process
Apparel business processApparel business process
Apparel business process
 
Design better forms – UXBristol
Design better forms  – UXBristolDesign better forms  – UXBristol
Design better forms – UXBristol
 

Kürzlich hochgeladen

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Kürzlich hochgeladen (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

Slide 3 musfique

  • 2. Identifying Classes • Perform a “grammatical parse” on a description of the system to be built. • Classes are determined by underlining each noun or noun clause and entering it in a simple list –these are candidate classes. • Synonyms should be noted.
  • 3. Identifying Classes • Use Case Scenario Customer confirms items in shopping cart. Customer provides payment and address to process sale. System validates payment and responds by confirming order and provides order number that Customer can use to check on order status. System will send Customer a copy of order details by email.
  • 4. Identifying Classes • Use Case Scenario Customer confirms items in shopping cart. Customer provides payment and address to process sale. System validates payment and responds by confirming order and provides order number that Customer can use to check on order status. System will send Customer a copy of order details by email.
  • 5. Identifying Classes • Noun List Customer Order Item Order Number Shopping cart Order Status Payment Order Details Address Email Sale System
  • 6. Identifying Class Relationships Payment Shopping Cart ItemCustomer Order Email uses contains places paid by *1 multiplicity Conceptual Object Model
  • 7. Identifying Responsibilities • Use Case Scenario Customer confirms items in shopping cart. Customer provides payment and address to process sale. System validates payment and responds by confirming order and provides order number that Customer can use to check on order status. System will send Customer a copy of order details by email.
  • 8. Identifying Responsibilities • Use Case Scenario Customer confirms items in shopping cart. Customer provides payment and address to process sale. System validates payment and responds by confirming order and provides order number that Customer can use to check on order status. System will send Customer a copy of order details by email. Confirms items Confirm order Provide payment and address Provide order number Process sale Check order status Validate payment Send order details email
  • 9. Assigning Responsibilities get status Confirms items Provide payment and address Process sale Validate payment Confirm order Provide order number Check order status Send order details email Paymen t Shopping Cart ItemCustomer Order Email Display totals Set payment and Address detail Process order Validate payment Confirm order Get order number Get status Create order confirmation email Send email ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
  • 10. CRC Cards • An index card that is use to represent – A class – the responsibilities of classes and – the interaction between the classes. • An informal approach to object oriented modeling. • The cards are created through scenarios, based on the system requirements, that model the behavior of the system. • The name CRC comes from Class, Responsibilities, and Collaborators which the creators found to be the essential dimensions of object oriented modeling.
  • 11. CRC Cards • Class Responsibility Collaborator (CRC cards) are a brainstorming tool used in the design of object- oriented software.
  • 13. Payment Responsibility Collaborator Set payment and Address detail Order Validate payment
  • 14. Payment Responsibility Collaborator Set payment and Address detail Order Validate payment Customer Responsibility Collaborato r Shopping Cart Item Shopping Cart Responsibility Collaborato r Display Totals Customer Item Item Responsibility Collaborato r Shopping Cart Order Email Responsibility Collaborator Send email Order Order Responsibility Collaborato r Process order Customer Confirm order Item Get order number Payment Get status Email Create order confirmation email
  • 15. Payment Responsibility Collaborator Set payment and Address detail Order Validate payment Customer Responsibility Collaborato r Shopping Cart Item Shopping Cart Responsibility Collaborato r Display Totals Customer Item Item Responsibility Collaborato r Shopping Cart Order Email Responsibility Collaborator Send email Order Order Responsibility Collaborato r Process order Customer Confirm order Item Get order number Payment Get status Email Create order confirmation email
  • 16. Why uses CRC cards? • They are portable. No computers are required so they can be used anywhere. • The allow the participants to experience first hand how the system will work. No computer tool can replace the interaction that happens by physically picking up the cards and playing the roll of that object. • The are a useful tool for teaching people the object-oriented paradigm.

Hinweis der Redaktion

  1. Not all of these will be behaviors. Some these will be combined, some of these will be splitted, some of are unnecessary and some of are replaced by something. But where (in which objects) these responsibilities are belong?
  2. Do not think about official method names. Just use the verb phrase