Skip to content

Tag Archives: tutorial

Dealing with comma delimited data in a database column

13-May-08

For various reasons, developers through the years have decided to store lists of data as comma-separated lists. Most programming languages include a split() function that allows you to break apart a list of data using a specified character. T-SQL does not.
I don't remember where I got this split function from. I know I didn't [...]

Modern Javascript Development: constructors and objects

26-Feb-08

JavaScript doesn't have a "class" keyword or any formal class construct. Instead, functions are 1st class objects. When you write a function, you are essentially writing a constructor for a new object.
Here we are defining a object constructor called "newClass" and assigning some member values.
PLAIN TEXT
CODE:

function newClass() {

    this.name = "newClass";

    [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes