Category Archives: JavaScript

7 Languages In 7 Days – Day 2: TypeScript

Getting Started


So, in my previous post, I covered one of the most popular OOP (Object Oriented Programming) languages out there today. In this post I will be covering a bit of a strange language, TypeScript. TypeScript is what’s known as a superset language of JavaScript. It allows for the programmer to enforce variable types and provide classes and objects in JavaScript and provides compile time error checking and not run time. A superset language, is a language that is compiled into another language which is then compiled into byte code. The program does not actually interact with the code that the programmer writes, but the code that is returned from the compiler. Crazy right?! In this post I will not be covering TypeScript in depth, but only enough to get a taste. If you want a more in depth look at TypeScript you can check it out here.

Continue reading

Simple SVG Graphing

Graphing is a great way to visualize a bunch of data. In this article we will talk about a simple way to make graphs for modern web browsers. We will be using dimple.js that is powered by D3. Here I will explain everything that you need to know in order to get a jump start in making SVG charts.

Stephen Dunn
Stephen Dunn

Latest posts by Stephen Dunn (see all)

Continue reading

Unlearning jQuery

jq-logo

Now that you have already learned jQuery, let’s unlearn it and get back to the basics. In this article, we will quickly go over the most common things that jQuery is currently used for and convert them to pure javascript.

jQuery is a great tool and contains polyfills that are beneficial. However, more often than not, I see it being abused and used for everything just for the sake of code simplicity. For example a webpage that is only using some basic javascript might not need jQuery at all, but a better understanding of javascript. Let’s take some of the basic things I have seen and convert them directly to javascript, in order to unlearn jQuery.

Stephen Dunn
Stephen Dunn

Latest posts by Stephen Dunn (see all)

Continue reading

Put the grunt work behind you

gulp-grunt

Gulp is quickly becoming the the leading task runner over grunt. If you are currently using Grunt or even worse, an ant task, then I highly recommend this topic for you. In this write up, we will quickly discuss Grunt, Gulp, and Gulp syntax. 

Stephen Dunn
Stephen Dunn

Latest posts by Stephen Dunn (see all)

Continue reading