Object Oriented Design 4

Object Oriented Design Domain ModelWelcome to the 4th part of my Object Oriented Design tutorial. I show you how to plan your first iteration. I explain all of the parts of the Elaboration phase of Object Oriented Design.

Then I take the Usage Case I made in part 3 of this tutorial, and convert it into a Domain Model. I cover all of the following: conceptual classes, how to build domain models, turning nouns into classes, associations and how to tell an attribute from a class.

This is a big tutorial, but the diagram that follows the video will help you learn this stuff.

Continue reading Object Oriented Design 4

Object Oriented Design 3

Object Oriented Design 3Welcome to my 3rd tutorial on Object Oriented Design. In this part of the tutorial, I’ll cover Iterative Development, The Unified Process and Usage Cases.

Unlike the waterfall process for object design, with the iterative process programming starts before all of the requirements are expected. The Unified Process is a popular IDP which focuses on high risk / value parts first before creating full requirements for the program.

A large Usage Case follows the video to help you.

Continue reading Object Oriented Design 3

Object Oriented Design 2

Object Oriented DesignIn the previous part of my Object Oriented Design Tutorial, I showed you how to build a Use Case, Object Model, Sequence Diagram and Class Diagram from scratch.

In this tutorial, I show you how to turn those diagrams into code and a working program. This is the process a person goes through to create excellent Object Oriented Designs. The code follows the video along with the digrams from last time.

Continue reading Object Oriented Design 2

Object Oriented Design Tutorial

Object Oriented Design TutorialWelcome to my Object Oriented Design Tutorial! I cover a ton of things in the video below.

The goal of this tutorial is to teach you how to create excellent OO designs. In this tutorial, I start off with a programming idea and walk you through the process of creating a Use Case, Object Model, Sequence Diagram and Class Diagram.

If you need help understanding sequence diagrams look here. The diagrams that follow the video should help you along though.

Continue reading Object Oriented Design Tutorial

Recording iPad Screen

Recording iPad ScreenI’ve received a bunch of requests on the best way for recording iPad screens. A bunch of you want to get into the lucrative world of recording games for YouTube I guess?

I’ve looked into the many ways to screen record ipad apps and I present the cheapest and easiest way here. I use a program called Reflection for screen recording ipad apps. This isn’t a sponsored message! It records both the video and sound from your app for all devices older than iPhone 4S and iPad 2. I show in the video below how easy it is to use.

I also document how I record voice overs using iMovie for these videos as well in the video and much more. Continue reading Recording iPad Screen

UML 2.0 Deployment Diagrams

UML 2.0 Deployment DiagramsWelcome to my UML 2.0 Deployment Diagrams tutorial. You use deployment diagrams to show how software and hardware work together.

In this tutorial, I explain how to use nodes, artifacts, dependency arrows, communication lines, deployment specs and much more.

Following the video, you’ll find a deployment diagram cheat sheet. You should use that to help you understand everything covered in the video and as a cheat sheet for the future.

Continue reading UML 2.0 Deployment Diagrams

UML 2 State Machine Diagrams

UML 2 State Machine DiagramsWelcome to my UML 2 State Machine Diagrams tutorial! I’m also going to cover Package diagrams in this tutorial because they are so simple to describe.

State machine diagrams model the changing states of objects and the events that cause these state changes. Everything you could ever want to know about them is covered below.

After the video you can find a state machine diagram cheat sheet to help you better learn this topic.

Continue reading UML 2 State Machine Diagrams

UML 2.0 Component Diagrams

UML 2.0 Component DiagramsWelcome to my tutorial on UML 2.0 Component Diagrams! Blocks of code are set up as components to create reusable blocks of code. Component diagrams are then used to show how components are used to create software systems.

On top of covering every symbol associated with component diagrams I decided to also cover Composite Structures. They model how objects work together when a class diagram doesn’t cut it. Also relationship arrows are covered again because of your requests. Everything follows including a cheat sheet to help.

Continue reading UML 2.0 Component Diagrams

UML 2.0 Timing Diagrams

UML 2 Timing DiagramsWelcome to my UML 2.0 Timing Diagrams tutorial. If you missed part one, you may want to check it out before proceeding here UML 2.0 Tutorial.

UML timing diagrams are used to detail interactions based on time. With timing diagrams you’ll describe when an event occurs, how long it takes for other participants to react and how long they’ll take to complete an interaction.

I cover pretty much everything about timing diagrams in the video that follows and the timing diagram cheat sheet that follows that should get you the rest of the way.

Continue reading UML 2.0 Timing Diagrams

UML 2.0 Communication Diagrams

UML 2.0 Communication DiagramsWelcome to my UML 2.0 Communication Diagrams tutorial! If you haven’t seen my tutorial on Sequence Diagrams check it out first, because in this tutorial I explain Communication Diagrams by comparing them to Sequence Diagrams.

Communication diagrams are used to show links between participants. They focus in on which interactions are triggered and when. They also describe the order of events in all interactions. With the video below and the cheat sheet that follows it, you should be able to understand them in no time at all.

Continue reading UML 2.0 Communication Diagrams

UML 2.0 Sequence Diagrams

UML 2.0 Sequence DiagramsWelcome to my tutorial on UML 2.0 Sequence Diagrams! Sequence diagrams model interactions in your program and provide you with a logical way to layout your system. They are about showing the order of interactions between the parts of your program.

In making sequence diagrams, you describe which interactions are triggered and when. They focus in on the order of events in all interactions.

The video below covers just about everything and the cheat sheet that follows is there to re-enforce the specifics.

Continue reading UML 2.0 Sequence Diagrams

UML 2.0 Class Diagrams

UML 2.0 Class DiagramsWelcome to my UML 2.0 Class Diagrams tutorial. Class diagrams describe classes and how they relate to each other.

I’ll not only cover class diagrams, but I’ll also cover abstraction, encapsulation, visibility, multiplicity, dependence, inheritance, constraints, OCL and more.

As an added benefit, because the concept is so simple, I’ll also cover Object Diagrams in this tutorial. I hope you find it useful.

Continue reading UML 2.0 Class Diagrams

UML 2.0 Activity Diagrams

UML 2.0 Activity DiagramsWelcome to my tutorial on UML 2.0 Activity Diagrams! In this tutorial, I’ll show you all of the symbols used to create activity diagrams.

Activity diagrams show what actions occur step-by-step to achieve a given goal. Activity symbols are very similar to flowchart notation, so you should find this topic very easy to learn.

After the video, I have the entire image I taught from. I think it will be a great cheat sheet. The program I use is available here UMLet. It is free and works on all OSs.

Continue reading UML 2.0 Activity Diagrams

UML 2.0 Video Tutorial

UML 2.0 Video TutorialWelcome to my UML 2.0 Video Tutorial! In this series I will cover Use Case, Activity, Class, Object, Sequence and many more UML Diagrams.

Unified Modeling Language (UML) is a graphical way of describing software systems. In this tutorial, I’ll focus on Use Case Diagrams which list the steps a system needs to follow to reach a goal. I’ll walk you through the parts of a Use Case Diagram as well as the requirements of a Use Case Description.

It starts slow, but quickly it will dramatically improve your ability to create robust systems.

Continue reading UML 2.0 Video Tutorial

Tutorial Vote

Tutorial VoteI’ve decided that my next tutorial series will be really big and will answer many of the questions I receive. The only problem is that most people either want to see an Android / Games Tutorial, or a J2EE / Application Development Framework Tutorial?

I can’t do both because they will each take at least 6 months each, so I leave it to you to decide which tutorial series I will do first. Vote for your favorite tutorial below and which ever one gets the most votes wins.

Continue reading Tutorial Vote

Design Pattern Video Tutorial

Design Pattern Video TutorialHere are all 26 videos from the Design Pattern Video Tutorial. Design patterns provide a reusable solution to commonly occurring software problems. Through the study of them you will dramatically increase your development time and improve code readability.

Below I have listed all of my design pattern video tutorials along with the code. I hope you find it useful for steering through this often confusing course of study. I feel sure that if you watch the videos and analyze the code you will better understand design patterns.

Continue reading Design Pattern Video Tutorial

Visitor Design Pattern Tutorial

Visitor Design Pattern TutorialWelcome to my Visitor Design Pattern Tutorial! This is the last part of my design pattern video tutorial.

The Visitor design pattern allows you to add methods to classes of different types without much altering to those classes. You can make completely different methods depending on the class used with this pattern.

With both the video below and the code that follows you should be able to start using this pattern in your code easily.

Continue reading Visitor Design Pattern Tutorial

Memento Design Pattern Tutorial

Memento Design Pattern TutorialWelcome to my Memento Design Pattern Tutorial! The Memento design pattern provides a way to store previous states of an Object easily.

It has 3 main classes. Memento: The basic object that is stored in different states. Originator: Sets and Gets values from the currently targeted Memento. Creates new Mementos and assigns current values to them. Caretaker: Holds an ArrayList that contains all previous versions of the Memento. It can store and retrieve stored Mementos. All of the code is down below to help you learn.

Continue reading Memento Design Pattern Tutorial

Mediator Design Pattern Tutorial

Mediator Design Pattern TutorialWelcome to my Mediator Design Pattern Tutorial! The Mediator design pattern is used to handle communication between related objects (Colleagues). All communication is handled by a Mediator Object and the Colleagues don’t need to know anything about each other to work together.

The Gang of Four description: Allows loose coupling by encapsulating the way disparate sets of objects interact and communicate with each other.  Allows for the actions of each object set to vary independently of one another.

Continue reading Mediator Design Pattern Tutorial

Make Java Executable

Make Java ExecutableI’ve been asked many times to show how to make a java program executable. It is actually very easy to make Java executable on any computer.

The main tool you’ll use on a PC is the Command Line or DOS Prompt. To find it click Start and in the box at the bottom type cmd.exe. If you’re on a MAC, just search for terminal in the search box.

I walk through everything in the tutorial video below. If you need any other help, everything follows in text format after the video.

Continue reading Make Java Executable