5 Dec
2013

Either.js

Category:UncategorizedTag: , :

Some time ago, I was watching this excellent video course by Neal Ford titled “Functional Thinking – Functional Programming using Java, Clojure and Scala”. In one of the modules on functional data structures, Neal talks about this container type in Scala named Either. The Either type in Scala represents one of two possible values, a […]

Read More
22 Mar
2013

Basic JavaScript: Prototypical Inheritance vs. Functional Inheritance

Inheritance in JavaScript has been the topic of many discussions in the past and will continue to be the source of future debates and arguments. While we do value composition over inheritance, we don’t want to throw the baby out with the bathwater either. So, from time to time, we run into these cases where […]

Read More
8 Feb
2013

Writing Fast, Memory-Efficient JavaScript

Category:UncategorizedTag: :

Earlier this week, I read this great article titled “Writing Fast, Memory-Efficient JavaScript” by Addy Osmani. This is a highly recommended read for anyone involved in writing JavaScript code. The topics that I found to be particularly interesting were the apparent fact that it’s better to avoid the delete keyword and cached functions in the […]

Read More
25 Mar
2012

Taming that client-side javascript mess with Backbone.js–Boise Code Camp session materials

Category:UncategorizedTag: , , , :

I had a blast presenting on Backbone.js at Boise Code Camp this weekend. Thanks to all who attended! I received a lot of positive feedback and as such will be presenting the same talk at the Boise Web Technologies Group Thursday, April 26, 2012, 6:00 PM. RSVP here Slides & Source http://bit.ly/bcc12_backbonejs Blog post Resources […]

Read More
23 Jan
2012

Resources for getting started with Backbone.js

The current product I am building makes heavy use of HTML5 & javascript to give the user a rich experience, both on and offline, across a variety of screens. Before I even started this application I knew I wanted a clean and proven approach to help manage the complexity on the client. After reviewing several […]

Read More
24 Mar
2011

Basic JavaScript Part 12: Function Hoisting

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods Namespaces Reusing Methods of Other Objects   The Module Pattern   Functional Initialization In a previous post I already discussed the phenomenon of hoisting in JavaScript. In that post I showed […]

Read More
4 Mar
2011

Basic JavaScript Part 11: Functional Initialization

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods Namespaces Reusing Methods of Other Objects  The Module Pattern I just want to quickly share some beautiful JavaScript code I picked up while watching the most excellent screencast 11 More Things […]

Read More
15 Feb
2011

Basic JavaScript Part 10: The Module Pattern

Here are the links to the previous installments: Functions Objects Prototypes Enforcing New on Constructor Functions Hoisting Automatic Semicolon Insertion Static Properties and Methods Namespaces Reusing Methods of Other Objects The module pattern is quite popular in the JavaScript community as is heavily applied by many JavaScript developers. There’s also the CommonJS initiative, which defines […]

Read More

Find me

RSS
Facebook
Twitter
LinkedIn