Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DOMAIN DRIVEN DESIGN - CASE STUDY SMALL

DOMAIN DRIVEN DESIGN - CASE STUDY SMALL

More Decks by WPS – Workplace Solutions

Other Decks in Programming

Transcript

  1. 24.04.23 //// Page 5 WPS – Workplace Solutions BIG PICTURE

    CINEMA TICKET AGENT MOVIEGOER WEEKLY SCHEDULE FILM SHOW 7 2 TICKET 6 CHOOSES 3 FILM SHOW AUDITORIUM PLAN 4 SEAT 8 TICKET CINEMA MANAGER WEEKLY SCHEDULE 1 PREPARES PUBLISHES SNACK BAR PERSONNEL WEEKLY SCHEDULE FILM SHOW FOR USHER TICKET BUYS POPCORN AND DRINKS CHECKS OF W ATCHES BUYS FOR MARKS OF AS SOLD IN FROM FOR AT 5 FROM
  2. 24.04.23 //// Page 6 WPS – Workplace Solutions § moviegoers

    are queuing in front of the box office of the ticket agent and are reading the weekly schedule of the cinema to find an appropriate film for tonight. The ticket agent asks the first moviegoer for which film show he wants to buy tickets for. The moviegoer asks the agent if four tickets for Pulp Fiction are available. § The ticket agent gets the auditorium plan for the appropriate film show from the stack of auditorium plans and searches from back to front for four free seats. § He finds a continuous block and offers four seats in row ten to the moviegoer. The moviegoer accepts the offer and pays the tickets in cash. § The ticket agent marks the sold seats on the auditorium plan an puts it back on the stack. Then he writes the seat number, date and name of the film on the tickets and gives them to the moviegoer. SCENARIO 1 (CURRENT SITUATION): SELLING TICKETS AT THE BOX OFFICE
  3. 24.04.23 //// Page 7 WPS – Workplace Solutions stack of

    auditorium plans SCENARIO 1 (CURRENT SITUATION): SELLING TICKETS AT THE BOX OFFICE Ticket agent moviegoer Weekly schedule 1 searches for a film show in money pays 6 hands payed tickets 2 asks for tickets for film show 10 over to Offers 5 found seats gets the for the from the 3 film show auditorium plan puts the auditorium plan stack of auditorium plans 8 back onto the searches for the 4 auditorium plan requested number of seats in the marks the 7 sold seats auditorium plan in the tickets 9 writes date onto the