Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Building OOA and CRC cards by Kevin Hampton
This is a brief overview on how to basically construct CRC cards using an OOA approach.
First of all you should start out by Brainstorming classes. It doesn't matter if they are completely random or just for fun. Just write down anything!
So for example, with a Coca Cola example you could put:
Point Of Sale
Llama - yea i did that... Maybe they like it too?!?!?!
The point here is to list all possibilities!
Next you should Filter these classes down a few to things that really fit together and click.
On going with the Coke example you would probably keep these classes:
Point of Sale
Note we got rid of Llama here. It's not that Llama's suck, it's just that they don't fit with our current goal.
After you filter your classes you should have the uncontrollable urge to then try to make CRC cards out of those classes.
On the front of these cards you should have the name at the top and then split the area below it into two sections.
In the left section put responsibilities of the class and in the right put the classes that collaborate with the current class you are doing the CRC card with.
After you are done with that then you should turn the card over and write the name again on the back. Below that, usually in the center, you should put purposes: followed by whatever purpose the class has.
Then at the bottom put the stereotype that is related to the class and it's main purpose.
I unfortunately do not know how to incorporate tables in this so I am giving you a link to examples of CRC cards: http://coweb.cc.gatech.edu/cs2340/uploads/5336/blahblahblah.m4.crc.cards.part1.jpg
Congrats! You have now witnessed how to make CRC cards! Remember to be creative and not hold back when Brainstorming classes.
Link to this Page
- Cases last edited on 30 July 2011 at 2:33 am by r59h132.res.gatech.edu