SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

En vedette

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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 

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.

Notes de l'éditeur

  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