develpreneur podcast

Software Design – The Visitor Pattern

The visitor pattern is the last of the behavioral ones for us to review.  This is going to feel similar to some others that allow us to abstract functionality such as a command.  This one provides us with a way to group functionality and avoids duplication or even sprawl of our code. The Visitor Pattern Defined As always, we will start with the “Gang of Four” intent to set the stage for our discussion. “Represent an operation to be perfomed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.” Simply put, this pattern allows us to abstract and group functions that we will be performed on... Read more

New Year Planning

Your Best Year Ever – Start A Better Tomorrow Today

There is nothing like starting the year with a presentation on how to embrace the next twelve months.  It is hardly ground-breaking to present on a topic like this.  However, this particular one is applicable to any time you see it.  The topic of the next twelve months being your best year ever can start on January first or December thirty-first and all points in between. Why Not Have Your Best Year Ever? We all have had periods of time where we look back and wish we had done better.  It may be a season of big challenges, bad luck, or general struggles.  The good news is that when we look ahead we have more control than looking back.  What... Read more

develpreneur podcast

Software Design – The Template Method Pattern

In the last episode, we looked at abstracting algorithms.  Now we examine the template method pattern and how it allows us to abstract steps of an algorithm.  Thus, providing a template for implementation while leaving the freedom for subclasses to handle the details. The Template Method Pattern Defined As always, we will start with the “Gang of Four” intent to set the stage for our discussion. “Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure.” This is a rather simple pattern to understand.  We build a root or base class that lays out the steps of an algorithm.  Then we leave some... Read more

develpreneur podcast

Software Design – The Strategy Pattern

Our review of the behavioral design patterns moves on to look at the Strategy pattern.  This is one that you might not recognize from the name.  However, it is relatively common in use (or at least it should be). The Strategy Pattern Defined As always, we will start with the “Gang of Four” intent to set the stage for our discussion. “Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it” Some people start to hear static when the word algorithm is used.  It seems too theoretical and does not apply to a practical approach.  Unfortunately, that is the core aspect of a strategy.  There is a process... Read more

develpreneur podcast

Software Design – The Memento Pattern

We tackle the memento pattern in this episode.  If you ever wanted to store the state of an object, then this is the one for you.  You can think of this pattern as a way to take note of your instance and store it for later. The Memento Pattern Defined As always, we will start with the “Gang of Four” intent to set the stage for our discussion. “Without violating encapsulating, capture and externalize an object’s internal state so that the object can be restored to this state later.” The trick to this intent is to avoid violating encapsulation.  The whole point of this pattern is to allow us to store and pass around the memento without having to keep track... Read more

buffer management tool

Buffer – A Great Tool For Managing Social Media Accounts

There are some highly useful tools we use.  However, few are as effective at saving time as Buffer.  Anyone that has more than one social media account they post to regularly should take a look at this tool.  If you have not already signed up, then you can get a free account at buffer.com and join us as we walk through the menu options. Buffer Manages Multiple Accounts The first thing you need to do (if you have not done so already) is to add an account.  There are several social sites supported, and new ones are added periodically.  Due to Google plus there are also some that occasionally are removed.  The free version of Buffer allows you to add one account... Read more