Composite Design Pattern Tutorial

Welcome to my Composite Design Pattern Tutorial! The Composite design pattern is used to structure data into its individual parts as well as represent the inner workings of every part of a larger object. The composite pattern also allows you to treat both groups of parts in the same way as you...

Iterator Design Pattern Tutorial

Welcome to my Iterator Design Pattern Tutorial! The iterator design pattern allows you to access objects that are stored in many different collection types. You do this by creating a common interface that these classes share. Then you have them provide you with an iterator that allows you to...

Healthy Pork Chop

Today I’ll show you how to make a healthy pork chop! A normal pork chop is: 286 Calories, 18 G of Fat and 93 mg of Cholesterol. Mine in comparison is only 120 Calories, .5 G of Fat and 0 Cholesterol. Just like I did in the past, I’ll make this breaded pork chop with a meat...

Template Method Design Pattern Tutorial

Welcome to my Template Method Design Pattern Tutorial. It is an extremely easy design pattern to understand and use. With this pattern, you define a method (algorithm) in an abstract class. It contains both abstract methods and non-abstract methods. The subclasses that extend this abstract class...

Healthy Sausage

Today I do the impossible! I show you how to make Healthy Sausage! Now by healthy sausage, I mean it tastes like sausage and it has the same texture as sausage. It is however made from Textured Vegetable Protein instead of pork and the other random things you find in unhealthy sausage. My...

Bridge Design Pattern Tutorial

Welcome to my Bridge Design Pattern tutorial. If you ever wanted to build a group of classes that slowly added functionality from one class to the next, this is the design pattern for you. There seems to be a lot of confusion in regards to what constitutes a bridge design pattern in both books...

Next Entries »

Google+