Presenting jQuery Plugin Session at devLink Conference

21. April 2009
Last month I submitting 6 sessions to this year's devLink Conference.

I recently found that they accepted the advanced session on 'How to create your own jQuery Plugin' that I had proposed.

Here is the session abstract for those of you who are interested...

How to create your own jQuery Plugin

There comes a time when the jQuery plugins currently available just don't meet your immediate needs. This session will show you how to go about creating your own plugin and will address key points you need to consider while making a plugin.
I've been to devLink for the past two years and it's definitely worth the time and money. It is a great chance to learn new concepts and to meet and share ideas with fellow geeks!

Here is some more information about the conference...
When
August 13 - 15, 2009
Reg. Opens
April 1, 2009
Reg. Closes
July 30, 2009 or until sold out (800 available)
Cost
Standard Ticket - $100
Where
Lipscomb University

[More]

Conference


JavaScript Unit Testing Part 2: JSSpec

17. April 2009

In this post we will examine the 2nd of 4 JavaScript Unit Testing frameworks... JSSpec.

Previous parts of this series...

In subsequent posts we will cover QUnit, and YUI Test.

I like this Unit Testing framework a lot more than JsUnit for the following reasons...

  • As you can see from the screenshot below, it has a nice interactive Test Runner
  • The testing API has an easy to read Fluent Interface (a.k.a. It reads like English)
  • The project appears to still be active... the latest version was available on Sep 23, 2008
  • The test files don't need to be hosted in a web server in order to run (unlike JsUnit).

[More]

Unit Testing


My First Podcast Interview

16. April 2009

A good friend of mine, Tanton Gibbs (@tgibbs), from Microsoft has started a new Podcast series called New Tech Cast.

In these podcasts, I'm going to be interviewing up and comers in the software development world. These industrious developers will have their fingers on the pulse of today's tech and should provide great insight into the things to come.

I was flattered to be chosen for his first Podcast interview. In the podcast we discussed my history, various technologies that I use (ASP.NET MVC, jQuery, etc...), and a variety of other things.

You can download and listen to the podcast on his new website.

[More]

Podcast


JavaScript Unit Testing Part 1: JsUnit

7. April 2009

In this post we will examine the 1st of 4 JavaScript Unit Testing frameworks... JsUnit.

In subsequent posts we will cover JSSpec, QUnit, and YUI Test.

First of all, lets define some JavaScript code that we want to Unit Test. I wrote the following Pig Latin JavaScript utility for the sole purpose of this Unit Testing series…

*Note: I am aware the code needs to be refactored. We will address that in a future blog post :) 



/*const*/ var CONSONANTS = 'bcdfghjklmnpqrstvwxyz';
/*const*/ var VOWELS = 'aeiou';

function EnglishToPigLatin(english) {
/*const*/ var SYLLABLE = 'ay';

var pigLatin = '';

if (english != null && english.length > 0 &&
(VOWELS.indexOf(english[0]) > -1 || CONSONANTS.indexOf(english[0]) > -1 )) {
if (VOWELS.indexOf(english[0]) > -1) {
pigLatin = english + SYLLABLE;
} else {
var preConsonants = '';
for (var i = 0; i < english.length; ++i) {
if (CONSONANTS.indexOf(english[i]) > -1) {
preConsonants += english[i];
if (preConsonants == 'q' && i+1 < english.length && english[i+1] == 'u') {
preConsonants += 'u';
i += 2;
break;
}
} else {
break;
}
}
pigLatin = english.substring(i) + preConsonants + SYLLABLE;
}
}

return pigLatin;
}


[More]

JavaScript, Unit Testing ,