Builder Design Pattern Tutorial

Builder Design Pattern TutorialWelcome to my Builder design pattern tutorial. You use the builder design pattern when you want to have many classes help in the creation of an object. By having different classes build the object you can then easily create many different types of objects without being forced to rewrite code.

The Builder pattern provides a different way to make complex objects like you’d make using the Abstract Factory design pattern. All of the code follows the video to help you learn.

Continue reading Builder Design Pattern Tutorial

Singleton Design Pattern Tutorial

Singleton Design Pattern TutorialWelcome to my Singleton Design Pattern Tutorial. The Singleton pattern is both easy to understand as well as useful. I’ll demonstrate first how to implement the Singleton pattern. Then I’ll provide and example of its usefulness with a Scrabble example.

Threads can sometimes play havoc with this pattern, so I’ll show you how to avoid those problems. I’ll also review how to use threads, LinkedLists and more.

Continue reading Singleton Design Pattern Tutorial

YouTube Video Blocked by Copyright Claims

Think Tank LogoLately I have had many videos taken down on YouTube because of false claims from the recording industry. It seems that the recording industry is just blindly making claims on everything on YouTube lately.

What is crazy about this is that I use Apple iLife royalty free music on all of my videos. That has not kept companies like EMI from either stealing my ad revenue (which I don’t care about), but they are now forcing videos to be deleted.

Continue reading YouTube Video Blocked by Copyright Claims

Abstract Factory Design Pattern

Abstract Factory Design Pattern TutorialHere is my Abstract Factory design pattern tutorial. I also take a second look at the Factory design pattern here as well.

This is considered a hard pattern to understand, but I consider it to be a combination of all you have learned previously. You just need to understand that each step is separated by either a abstract class or an interface. This makes it possible to make extremely flexible objects.

All of the code follows the video and is heavily commented.

Continue reading Abstract Factory Design Pattern

Ivy Veronica Banas

Little IvyMy wife gave birth to my second daughter tonight at 9:52. Her name is Ivy Veronica and at birth she weighed 7 pounds and 7 ounces.

The whole process went extremely fast. My wife alerted me to contractions at 6:30 pm and we were at the hospital by 7:25 pm. She received an epidural at 9:25 pm and about 6 minutes after the doctor walked into the room she was born!

Continue reading Ivy Veronica Banas

Factory Design Pattern Tutorial

Factory Design Pattern TutorialWelcome to my Factory design pattern tutorial. This is a continuation of my design patterns video tutorial.

You use the Factory design pattern when you want to define the class of an object at runtime. It also allows you to encapsulate object creation so that you can keep all object creation code in one place.

The Factory pattern is presented in many ways to help you learn. Refer to the code that follows the video to completely understand it.

Continue reading Factory Design Pattern Tutorial

Observer Design Pattern Tutorial

Observer Design Pattern TutorialWelcome to my Observer Design Pattern Tutorial. I cover a lot in this tutorial including the Observer pattern, how to use it with threads and much more.

The Observer pattern is a software design pattern in which an object, called the subject (Publisher), maintains a list of its dependents, called observers (Subscribers), and notifies them automatically of any state changes, usually by calling one of their methods.

All of the code follows the video to help you learn.

Continue reading Observer Design Pattern Tutorial

Strategy Design Pattern Tutorial

Strategy Design Pattern TutorialHere is my Strategy design patterns tutorial. You use this pattern if you need to dynamically change an algorithm used by an object at run time. Don’t worry, just watch the video and you’ll get it.

The pattern also allows you to eliminate code duplication. It separates behavior from super and subclasses. It is a super design pattern and is often the first one taught.

All of the code follows the video to help you learn.

Continue reading Strategy Design Pattern Tutorial

Design Patterns Video Tutorial 2

Design Patterns Video Tutorial 2Here I continue my design patterns video tutorial. If you missed part 1, definitely watch it first here Design Patterns Video Tutorial.

In this part of the tutorial I cover polymorphism, abstract classes, abstract methods, interfaces, using static methods and variables and a whole bunch more.

All of the code follows the video to help you learn.

Continue reading Design Patterns Video Tutorial 2

Nexus 7 Camera Apps

Google Nexus 7 Video ReviewI’ve had my Nexus 7 for about a month now. While I really like it, I haven’t given up on trying to make the camera work.

So, I went and bought a few of the most popular Nexus 7 camera apps to see if any of them work. Hint, none of them work very well and some are even worse than the free camera app.

Below you can see pictures from a few of the camera apps I have.

Continue reading Nexus 7 Camera Apps

Design Patterns Video Tutorial

Design Patterns Video TutorialHere I begin my design patterns video tutorial. I have talked a great deal about OOP design principles in the past. I’ve shown you how to turn requirements into a UML diagram. Then I covered how to turn a UML diagram into a class.

This tutorial will start off by revisiting OOP concepts. I’ll also provide answers to the most common questions I receive.

By the end, you’ll be able to use design patterns to solve common software design problems.

Continue reading Design Patterns Video Tutorial

How Do I Get Twitter Followers

How Do I Get Twitter FollowersThis has been a common request week and the most popular request I get is How Do I Get Twitter Followers.

While I don’t consider myself an expert, I did put on about 10,000 followers in 2 months. Because you asked for it, I’ll show you exactly what FREE sites I used to get Twitter followers.

I list all of the sites I use after the video, for your convenience.

Continue reading How Do I Get Twitter Followers

Mexican Cuisine

Mexican CuisineI’m absolutely in love with Mexican Cuisine. If you find that your meals are in a rut, there is no easier way to add some excitement again than with a little Latin flair!

In this video I provide you with my favorite recipes for making flour tortillas, refried beans, guacamole, salsa and an amazing salad that uses all of the above.

If you ever wanted to learn about Mexican cuisine, you will find here 4 staple recipes that will carry you very far on your journey.

Continue reading Mexican Cuisine

Java Video Tutorial

Java Video TutorialA long time ago I started my Java Video tutorial. When I started this I wanted to completely cover the Java language. So, far I’ve recorded over 64 videos that are over 14 hours in total length.

I’m not near done with this tutorial, but I thought it would help if I combined all of these videos in just one post. Links to all of the code follows the videos. Videos on Android development, networking, design patterns and much more are still to come.

Continue reading Java Video Tutorial

Google Nexus 7 Video Review

Google Nexus 7 Video ReviewI’ve had the first iPad since it first came out, but after years of use it wasn’t holding its charge. So, over the last 2 months I’ve tried out many competitors to find my new tablet.

In this video, I provide my Google Nexus 7 video review. I tested the iPad 2, New iPad, Kindle Fire, and the Asus Transformer. For the buck I didn’t think anything compared to the Nexus 7.

Below I go through the pros and cons of the Nexus 7.

Continue reading Google Nexus 7 Video Review

Java Video Tutorial 60

Java Asteroids GameIn this video I continue my Java Asteroids game. I pretty much finish up the game in this tutorial.

I show you how to do a bunch of new things. I show you how to play sound in a JFrame. We introduce yet another way to handle collision detection. We remove items from the screen when they are destroyed. And, a whole bunch more is covered.

All of the code is available below and in this zipped archive.

Continue reading Java Video Tutorial 60

Java Video Tutorial 59

Java Asteroids Video GameIn the last part of this tutorial, I showed you how to make the PhotonTorpedo class using a UML class diagram.

In this tutorial, I show you how to make your space ship shoot the torpedos on the screen. As you’ll see, because I used good OOP design principles in the last video, adding the shooting feature will require very few changes.

All of the code follows the video. It is heavily commented to help you learn.

Continue reading Java Video Tutorial 59

Java Video Tutorial 58

Make an Asteroid Java GameAs we continue to make an asteroid Java game, I show you how to make your space ship shoot.

It sounds like a simple concept until you realize the ship is shooting while it is rotating through space at an angle that may not be equal to the direction it is moving. Don’t worry, we’ll figure it out together in this and the next tutorial.

Like always the code follows the video. I broke it up into separate pages per your requests 🙂

Continue reading Java Video Tutorial 58

Java Video Tutorial 57

Make a Java Asteroids GameIn this video I continue making a Java Asteroids game while teaching about OOP design principles. In previous videos I showed how to make a Java UML class diagram and then we turned the UML class diagram into a class.

Here I finish up the class so that you can now fly your ship in any direction. You’ll also be able to keep it on the game board and use life like velocity that accelerates.

All of the code is below and is heavily commented to help you learn.

Continue reading Java Video Tutorial 57