PPL Plugins design patterns software engineering Jan 18, 2021

I wrote previously about Tom and I’s Gang of Four project where we are creating GOF Examples in LabVIEW. We’ve been getting distracted a little lately, but I have finally found some time to get back to it. I thought I would share with you what I have been working on with...

Continue Reading...
Dynamic Unloading of Classes design patterns how to software engineering Sep 02, 2020

In my previous post, I did a demo of the factory pattern. In it I showed how to dynamically load classes based on their path. One thing you may have noticed in that demo is that the classes stayed in memory even after the Test VI stopped running. If you missed it, go try it again.

Note...
Continue Reading...
Gang Of Four Patterns in LabVIEW design patterns software engineering Aug 31, 2020

I have written a bit about the GOF design patterns previously. Recently Tom McQuillan and I were talking about how it would be nice to have examples on how to implement the patterns in LabVIEW. To be fair, Elijah Kerry put together some great examples several years ago, but he...

Continue Reading...
Book Review Dive into Design Patterns book reviews design patterns software engineering Dec 18, 2019

Stefan Lemmens put me onto this book a few months in response to a review I wrote of the original GOF Design Patterns Book. He remarked that is was much more approachable and he was right. While I still find value in the original GOF book, I think this book is a much better choice for...

Continue Reading...
Test Doubles In Action design patterns software engineering unit testing Aug 12, 2019

In the last post, I talked about Test Doubles and some various types that we can use and how to implement them. The next obvious question is how do we actually use them in our tests.

Dependency Injection

Understanding Test Doubles first requires understanding the concept of dependency...

Continue Reading...
Intro to Test Doubles design patterns software engineering unit testing Aug 05, 2019

It’s no secret that many Hollywood actors use stunt doubles. These are specialists that from the outside look and behave like the stars, but have unique talents. The actors do most of the heavy lifting in terms of acting, but for fight scenes, car chases, jumping off buildings, etc. a stunt...

Continue Reading...
Humble Objects design patterns software engineering unit testing Jul 29, 2019

Ego is the Enemy. Ego can cause us all kinds of problems in our personal and professional lives. When it comes to software, it is no different. Objects and VIs that have large egos create problems. One of the problems they cause is that they make it very hard for us to test our code. What...

Continue Reading...
A Business Case For Applying Design Patterns design patterns Mar 11, 2019
 

This is my fourth article in a series on the Gang of Four book on Design Patterns. I thought four was an appropriate number of articles. Here are links to the first 3 articles:

  1. Design Patterns – A Review
  2. OOP Design Patterns in Actor Framework Part 1
  3. OOP Design Patterns...
Continue Reading...
OOP Design Patterns in Actor Framework Part 2 design patterns Mar 04, 2019

This is a continuation of my previous post on GOF Design Patterns in the Actor Framework. I found a lot of examples, so I decided to break it into 2 posts. You can access part 1 here and my review of the GOF Book here. Part 1 showed examples found in the Actor Framework...

Continue Reading...
OOP Design Patterns in Actor Framework Part 1 design patterns Feb 25, 2019

Last week I wrote a review of the GOF Book on OOP Design Patterns. This week I would like to share some examples of these design patterns in action, so you can go look at them and see how they are implemented and used in LabVIEW. When I took Allen’s Actor Framework (AF)...

Continue Reading...
Design Patterns – A review book reviews design patterns Feb 18, 2018

I recently finished reading “Design Patterns: Elements of Reusable Object-Oriented Software” by Erich Gamm, Richard Helm, Ralph Johnson, and John Vlissades. Due to its popularity, the length of the title, and the fact that it has 4 authors, it is affectionately known as the...

Continue Reading...