What are Symbols for in Javascript ES6

Gives a brief explanation of what symbols primitives are for in Javascript ES6 and how they can be used.

Read more No Comments »

WebAssembly – bytecode on the web

On many developer’s wishlists for a number of years, this week news broke of a collaboration between Microsoft, Google and Mozilla to bring a binary standard to web development programming.

Read more No Comments »

Simple publish/subscribe model in JavaScript

Nothing worse than re-implementing the same sort of code over and over. One common pattern used in JavaScript programming is the publish/subscribe model.

Read more No Comments »

Make checkboxes behave like radio buttons using jQuery

Simple code sample to make checkboxes behave like radio buttons.

Read more No Comments »

Knockout hasWriteFunction undefined when minified

The life of a developer throws up some challenging problems, some infuriating ones and some that are just plain stupid! This one falls into that last category.

Read more No Comments »

Fabric JS – Add a dblclick event to fabricjs

I am using FabricJS for my final project with the OU. Here is a quick and easy way to add a double click event handler to Fabric JS.

Read more 4 Comments »

Subset sum – find all numbers that add up to n

A Javascript solution to a common problem where you need to find all natural numbers that add up to some other number.

Read more No Comments »

Javascript module pattern for namespaces and packages

Quick look at the module pattern in Javascript from the point of view of a C# or Java developer.

Read more No Comments »

Check for undefined object in Javascript

Shows how to check for an undefined object in Javascript

Read more No Comments »

Using Selenium Web Driver for Unit Testing

Wouldn’t it be great to be able to test Javascript functions in NUnit? Here’s a quick sample of how that can be done.

Read more No Comments »

© 2017 Garry Passarella. All Rights Reserved. Facebook Twitter Twitter