CodeBetter.Com - Stuff you need to Code Better!'s Image

CodeBetter.Com - Stuff you need to Code Better!

http://codebetter.com/blogs/
More about this blog
Latest Post
28 Mar 2010
Total Posts
199
Readers
1948
Liked
0
Disliked
0
Views-Per-Post
09.79
vote up
0
vote down

Time Flies Like An Arrow in F# and the Reactive Extensions for .NET

In the past week, I had the pleasure of speaking on Reactive Programming in F# with Brian McNamara at a conference out in Seattle.  The point of this talk was to cover the what and why of using F# in reactive programming on both the client and the
Mar 29 2010 06:25 AM
vote up
0
vote down

Html Encoded Code Expressions in ASP.NET 4

Just returned home from the Orlando Code Camp with my 3 children who were real troopers for joining me on the trip. We woke up at 4:30am for a 2+ hour drive so I could speak about What’s New in ASP.NET 4 at 8:30am. I realized on my ride home that I
Mar 28 2010 05:33 AM
vote up
0
vote down

In TDD Red is not 'does not compile'

I see a bit of a growing meme that the red step in Test Driven Development's (TDD) red-green-refactor cycle means that your test will not compile because there is no code to implement it yet. Bunkum! The red step is necessary because of the
Mar 26 2010 01:34 PM
vote up
0
vote down

MongoDB, 5 characters, and a free job board

Today I came across shapado.com - a StackExchange-like open source system running on ruby and mongodb. It took a couple clicks and a few keystroke, and I had http://jobs.shapado.com/ setup and running for free. It was a quasi joke at first, but I figured
Mar 26 2010 02:50 AM
vote up
0
vote down

Unit Test the Behavior, Not the Implementation

As you write tests, you'll often come across situations where the code which exibits a certain behavior is different than the code which causes the behavior to exist. Consider a simple case in Metsys.Bson - a BSON serializer. You can configure the
Mar 26 2010 12:39 AM
vote up
0
vote down

The recording for me on Ignite your Coding is online

As promised / threatened, my appearance on Ignite Your Coding from last week is online as an MP3 download here.  The format is more or less to take questions that come in from the listeners on NetMeeting, and the crazy range of topics kept me on my
Mar 25 2010 02:07 AM
vote up
0
vote down

Metsys.Bson - the BSON Library

Earlier this month I detailed the implementation of the bson serialization we used in Norm - the C# MongoDB driver. I've since extracted the serialization/deserialization code and created a standalone project for it - in the hopes that it might prove
Mar 24 2010 11:52 PM
vote up
0
vote down

The 98th Thing Every Programmer Should Know

I am sitting right now in the “Opening Party” for the 97 Things Programmer Should Know. Someone had mentioned this to me when I was touring in South Africa and I had never gotten a chance to put together an entry so here it is. Thanks to Thomas Huberz
Mar 24 2010 09:42 PM
vote up
0
vote down

Moving On

The time has come (some would say long passed) for me to leave CodeBetter. I'm feeling the itch to do my own thing and I think there's a lot of talented and outspoken developers out there who can better benefit from the massive reach
Mar 24 2010 12:12 AM
vote up
0
vote down

node.js: A little application with Twitter and CouchDB

I've been continuing to play around with node.js and I thought it would be interesting to write a little application to poll Twitter every minute and save any new Tweets into a CouchDB database. I first played around with CouchDB in May last year and
tags: node.js
Mar 23 2010 04:40 AM
vote up
0
vote down

Defensive Programming and the UI

A few weeks ago I was looking at quite an interesting bug in our system which initially didn't seem possible. On one of our screens we have some questions that the user fills in which read a bit like this: Do you have a foo? Is your foo an approved
Mar 23 2010 02:16 AM
vote up
0
vote down

Sarasota Web: ASP.NET MVC, Castle ActiveRecord, and DynamicData

The Sarasota Web Developer Group is having our second meeting this Wednesday, March 24, 2010 at 6pm. We have two presentations and a tool spotlight: Presentation 1: Build ASP.NET MVC Contact Manager from Scratch Tool Spotlight: Castle ActiveRecord,
Mar 22 2010 10:08 PM
vote up
0
vote down

A simple WCF service with username password authentication: the things they don’t tell you

The WCF framework is gigantic. It has such an enormous amount of possibilities that it’s pretty easy to get completely lost. For our scenario we needed just a small basic subset. Our application provides a set of services which are consumed by a
Mar 22 2010 03:57 PM
vote up
0
vote down

Pow! Biff! Wham! Splat!

No, this post is not a tribute to the fabulously kitschy Batman TV series (1966-1968) starring Adam West and Burt Ward. Or a tribute to the onomatopoeic sounds for which it and the Batman comics were famous. This show did however come to mind when I was
Mar 22 2010 07:38 AM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – jQuery Live Event Integration

So far we’ve come a long way in this series, starting with some of the basics, and then going deeper with composition with such things as the Bing Maps and Twitter Mashup, Drag and Drop, asynchronous programming among others.  One of the nicest
Mar 22 2010 03:25 AM
vote up
0
vote down

IIS 7 URL Rewriter for SEO Friendly URL’s

The other day I commented on how the IIS 7 URL Rewriter can be a neat way to transition your legacy ASP.NET Web Forms URL’s consisting of querystrings to a more RESTful, searchengine-friendly syntax. Actually, this can either be 1) a more
Mar 20 2010 08:08 PM
vote up
0
vote down

Rob E’s Mini-MVVM Framework @ MIX10

Rob Eisenberg’s MIX 2010 talk, “Build Your Own MVVM Framework” was terrific. If you feel modestly comfortable with MVVM, run over and get the video and the code. Rob may be best known for his Caliburn WPF/Silverlight Presentation Development Framework.
tags: mvvm
Mar 20 2010 05:24 AM
vote up
0
vote down

TDD: Expressive test names

Towards the end of a post I wrote just over a year ago I suggested that I wasn't really bothered about test names anymore because I could learn what I wanted from reading the test body. Recently, however, I've come across several tests that I
Mar 20 2010 03:31 AM
vote up
0
vote down

MVVM, Josh Smith’s Way

I’ve long admired Josh Smith’s work. He’s one of the best explainers on the web and he – together with Karl Shifflett and Andrew Smith - gave us Mole, the superb WPF Visual Studio debugger visualizer. I heard recently that
Mar 19 2010 11:06 PM
vote up
0
vote down

ASP.NET Performance Framework

At the start of the year, I finished a 5 part series on ASP.NET performance - focusing on largely generic ways to improve website performance rather than specific ASP.NET performance tricks. The series focused on a number of topics, including merging and
Mar 19 2010 06:52 PM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – Drag and Drop

We’ve covered a bit of ground in this series, covering the basics, jQuery integration, blocking to asynchronous and further composition.  One way I’ve found to really get your hands dirty using this library is to take examples from other libraries
Mar 19 2010 08:22 AM
vote up
0
vote down

DevTeach Toronto 2010 Wrap-Up

Another year, another DevTeach. A big thank you to everyone involved. To the organizers, Jean-Rene Roy and Maryse Dubois, thank you for continuing to support and encourage the Canadian developer community. To my fellow Tech Chairs, for helping select an
Mar 19 2010 06:31 AM
vote up
0
vote down

Essential and accidental complexity

I've been reading Neal Ford's series of articles on Evolutionary architecture and emergent design and in the one about 'Investigating architecture and design' he discusses Essential and accidental complexity which I've previously read
Mar 19 2010 02:06 AM
vote up
0
vote down

Your chance to heckle me on Ignite your Coding tomorrow

It's my turn next to talk and try to field questions on the new Ignite your Coding podcast tomorrow.  It's a little bit different format where you can join the NetMeeting and jump right into the conversation.  I'm going to be
Mar 18 2010 07:06 AM
vote up
0
vote down

The Reactive Extensions for JavaScript Released

The long awaited day has come as the Reactive Extensions for JavaScript have been released on DevLabs in conjunction with the talk given by Erik Meijer at Mix 2010.  Jeff Van Gogh, one of the principal developers on this project has more details and
Mar 18 2010 02:50 AM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – Composing deeper

We’ve covered a bit of ground already in this series on the Reactive Extensions for JavaScript (RxJS) from the basic information, creating observers and observables, jQuery integration, composing asynchronous methods with callbacks and in the last post,
Mar 17 2010 03:23 AM
vote up
0
vote down

Parallel Pair Programming

I've spent a bit of time working with Les recently and it's been quite interesting working out the best way for us to pair together as he's working as a front end developer on the team which means he's best utilised working on the
Mar 17 2010 02:28 AM
vote up
0
vote down

Testing a WPF UI using Ruby, Cucumber and WiPFlash.dll

Almost two years ago I blogged about Project White, an open source project available on CodePlex which provides an abstraction on top of the UI Automation library built into WPF and Silverlight. Fast forwarding and there is a new project available called
Mar 17 2010 01:20 AM
vote up
0
vote down

How to know if you're a coding optimist or pessimist

Let's say you're a developer -- and you probably are if you're reading this.  How do you know if you have a generally sunny, optimistic set of mind or a gloomy, pessimistic attitude?  It's very simple.  You know how you
Mar 16 2010 06:17 AM
vote up
0
vote down

Hello CodeBetter World!

In an interesting turn of events, I've been invited to blog here! Having followed CodeBetter for a number of years, I'm extremely honoured and excited to be sharing my thoughts, opinions and discussion points here.  My aim is to share my
Mar 16 2010 03:28 AM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – Wikipedia Lookup

We’ve covered a bit of ground already in this series on the Reactive Extensions for JavaScript (RxJS) from the basic information, creating observers and observables, jQuery integration, composing asynchronous methods with callbacks and in the last post,
Mar 16 2010 01:22 AM
vote up
0
vote down

node.js: First thoughts

I recently came across node.js via a blog post by Paul Gross and I've been playing around with it a bit over the weekend trying to hook up some code to call through to the Twitter API and then return the tweets on my friend timeline. node.js gives us
Mar 15 2010 07:59 AM
vote up
0
vote down

A reminder of the usefulness of Git

  Despite the fact that none of the projects that I've worked on have used Git or Mercurial as the team's main repository I keep forgetting how useful those tools can be even if they're just being used locally. I ran into a problem when
Mar 14 2010 05:41 AM
vote up
0
vote down

Preventing systematic errors: An example

James Shore has an interesting recent blog post where he describes some alternatives to over reliance on acceptance testing and one of the ideas that he describes is fixing the process whenever a bug is found in exploratory testing. He describes two ways
Mar 14 2010 04:03 AM
vote up
0
vote down

Visual Studio Addin failed to load

If you are developping a VS addin or even if you are just a VS Addin user you certainly see this popup message in the past: I can attest that this message box popups because of environment issue including: Missing file(s) Mismatch 32bits / 64bits mode
Mar 12 2010 03:45 PM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – From Blocking to Async

We’ve covered a bit of ground already in this series on the Reactive Extensions for JavaScript (RxJS) from the basic information, creating observers and observables, jQuery integration and in the last post talking about composing asynchronous methods
Mar 12 2010 01:37 PM
vote up
0
vote down

WebForms vs MVC (again)

There's a new video up on www.asp.net which aims to help developers pick between ASP.NET WebForms and ASP.NET MVC. The video boils down to 5 benefits per technology which Microsoft thinks you should consider. Let's go over the points, shall we?
Mar 11 2010 10:50 PM
vote up
0
vote down

Speaking at MIX!

Sunday I leave to Vegas to attend my first MIX. It’s exciting to finally attend this event that has such an air of mystique around it. I’ll be speaking on how you can use MEF in SL4 to partition your applications across many XAPs in a fairly seemless
tags: mef mix
Mar 11 2010 04:24 PM
vote up
0
vote down

Introduction to the Reactive Extensions for JavaScript – Composing Callbacks

So far in this series, we’ve covered some basic information about the Reactive Extensions for JavaScript (RxJS) including creating observables and creating observers as well as jQuery integration.  Now that we have a foundation in some of the basic
Mar 11 2010 12:08 PM
vote up
0
vote down

The 8th Phase

I once posted a semi-serious post entitled The 7 Phases of Unit Testing. The phases are: Refuse to unit test because "you don't have enough time" Start unit testing and immediately start blogging about unit testing and TDD and how great
Mar 09 2010 09:21 PM