90 likes | 166 Views
Join Joe Kmoch from Milwaukee Public Schools in this workshop to learn how to develop object-oriented solutions. Explore identifying objects, operations, relationships, developing scenarios, and implementing OO design. Practice with tasks to immerse yourself. Understand the importance of nouns, verbs, responsibilities, and collaborations in designing object-oriented solutions. Enhance your skills in object interaction, operations, and relationships. Recognize scenarios and design requirements for better implementation. Create and test public interfaces and member functions effectively. Start your journey into the world of Object-Oriented Programming today!
E N D
Developing an OO SolutionWMC GreenLakeMay 5, 2006 Joe Kmoch Milwaukee Public Schools jkmoch.com/apcs joe@jkmoch.com
Agenda • Identify Objects (Classes) • Identify Operations (Responsibilities) • Identify Relationships (Collaborations) • Develop Scenarios • Implement OO Design
Your First Task • Put a rectangle around each noun • Encircle each action verb
Objects (Candidates) • nouns
Operations (Responsibilities) • Verbs • ID what can be done to objects or • ID what objects can do for themselves • ID who is responsible for doing what
Relationships (Collaborations) • What objects need to know about what other objects do
Develop Scenarios • How objects interact • Right objects? Operations? Relationships? • Common and uncommon scenarios • Possibly recognize new design requirements
Implementing OO Design • Design public interfaces • Design internal data representation • Implement public member functions • Test individual objects and member functions