Skip to content

Category Archives: Tutorials

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: null and undefined

03-Mar-08

In my last post on constructors and objects in JavaScript, I mentioned that the logical OR operator || was short-circuited and allowed us to set default values for arguments passed into the constructor. So we know that the argument evaluates to false if we don't pass it in to the constructor, but what value does [...]

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";

    [...]

Using the ASP.NET MVC framework with Visual Web Developer Express

10-Dec-07

If you try to use the new ASP.NET MVC framework with Visual Web Developer Express, there are some manual steps you have to take in order to get up and running.
Select "New Web Site" and pick "ASP.NET 3.5 Extensions Web Site".
The example web.config I saw added the following lines in the "system.web"/"pages" section. But [...]