Download presentation
Presentation is loading. Please wait.
Published byHartono Santoso Modified over 6 years ago
1
Agenda – week 6 6:00 – 6:10 Questions, announcements, intro
6:10 – 6:40 Lecture: reconstructing an architecture 6:40 – 7:20 Discussion: Fowler’s domain logic patterns 7:20 – 7:30 Break 7:30 – 8:00 Activity: in-class design problem begins 8:00 – 8:30 Activity: a database for elections 8:30 – 8:40 8:40 – 9:20 Activity: domain logic for elections 9:20 Wrap up
2
Fowler’s domain logic patterns
Discuss in groups: What did you like about the patterns? What sounded like problems or areas of concern? What quality attributes did Fowler have in mind when recommending one pattern over another? Whole class: Share group results Who has experience with these patterns? What questions do you have?
3
Design problem Purpose: Setting: in-class, next three weeks
practice architecture for a well-known problem warm up for Project 2 Setting: in-class, next three weeks The problem: Ohio’s Secretary of State asks you to design a new voting system, including election setup, voting machines, reporting, and tabulation What do you do first? Discuss for 10 minutes, then get more instructions
4
Brainstorm an election database
What tables do we need? What relationships among tables? Besides the foreign keys, what other (major) columns do we need?
5
Domain logic for elections
Pick one of the domain logic patterns, and draw a class diagram of how it would apply to your voting system Transaction script Domain model Table module Service layer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.