Welcome to part 9 of my Object Oriented Design tutorial! This all started back in part 3 in my UML Use Case Tutorial.
Here I’ll finish turning sequence diagrams into code. If you get good at this process you’ll be able to make any program no matter how complicated it may be.
All of the code from this and the last tutorial can be found below to help you learn. In the tutorials that follow I’ll answer all of the design pattern tutorials I’ve been receiving.
If you like tutorials like this, it helps to tell Google so more people find it [googleplusone]
Share with anyone you know that likes Object Oriented Design [nttfblike]
Turning Sequence Diagrams into Code
The additional code used can be found in Object Oriented Design 8
ATM.java
BankNetwork.java
BankComputer.java
Hi Derek, trying to watch part 9 of this tutorial, and the video seems to be broken somehow, on youtube it stops after only a minute, then on your site it stops after about 2 minutes.
Just a heads up, and I would love to continue watching this tutorial.
Thanks
Hi, YouTube was probably just slow at the time. It seems to be working now
Hi Derek. As you said, this is important topic. I dont want to move on Android tutorials before watching OOD tuts. I can understand how this ATM works, but how did you decide when and where to make Transaction object? You made it when isStripReadable is called. Thank you Derek, you are great.
Hi Marko, It is hard to really say how I decided to set up the system. I tried to simulate the process of creating a design over the course of this entire tutorial series. I optimized and made design decisions along the way. I also did most of this largely out of my head while recording to simulate the decision making process. The final results are based on that process. I hope that makes sense 🙂