My Blog

Graphic of a code symbol set against a green background

Hoisting in JavaScript

Hoisting is one of the more confusing aspects of JavaScript. The concept of hoisting was created by developers to explain what happens during the compilation phase when variables and function declarations are moved — or hoisted — to the top {…}

Posted by: John Dugan

What is the PATH Variable in Windows?

I remember the first time I encountered a solution that went something like: “All you need to do is add it to your PATH variable.” Huh? What is a PATH variable? The PATH variable is just that, a variable. More {…}

Posted by: John Dugan

Wrap Magneto CMS Block in Custom Class

Often I create little modules of content as CMS static blocks in Magento. You can easily display CMS Blocks throughout different locations on your site using Magento’s XML layout engine. However, a change in location may mean a change in {…}

Posted by: John Dugan
phpMyAdmin logo

How to Upgrade phpMyAdmin in WAMP

As a WAMP user, you are familiar with phpMyAdmin. Like any application bundled with WAMP, phpMyAdmin upgrades will be released. How do you know when a new upgrade is released? Simple, phpMyAdmin will tell you in the right sidebar, along {…}

Posted by: John Dugan
Graphic of a code symbol set against a green background

Object Oriented JavaScript Pattern Comparison

In this post, I explore various object oriented JavaScript design patterns. An intermediate level of JavaScript knowledge is required to get value from this post. Before we get started exploring the various patterns below, it’s worth reviewing a couple key {…}

Posted by: John Dugan

Ecommerce Calculator for Measuring Revenue Growth

It’s the last day of 2014 and my ongoing quest to become a better JavaScript developer went pretty well this year. Yesterday I released an ecommerce calculator for measuring revenue growth that is built in JavaScipt. The calculator takes in {…}

Posted by: John Dugan