Chris Brandsma
Author Archive

Chris Brandsma

CodeCast

OK, bitter-sweet podcast here, this is Daddy Starr’s final podcast with the Elegant Code Cast.  Why?  Well, you will just have to listen to find that out. In the mean time, we also talk about Agile, LEAN, working agile methodologies in with family life, and his new company: Guild 3.  Have a listen and tell us what you think. Links from the Show: Guild 3 Software Agile for Families PluralSight PluralCast Link to show

Read More
Asp.Net MVCJavaScriptJQuery

For a while now I’ve wanted the ability to generate javascript file like I generate html files.  Take a little bit of the power of the WebForm view engine (just a little bit) and give that to me for JavaScript. Why?  I have a few reasons.  Number one is I want to remove all of my JavaScript from the html, so the JavaScript is loaded via script tags.  Once that happens, then I can have

Read More
AutoMapperCodeCast

AutoMapper is one those tools tools that seems to be gaining in popularity lately, generating a lot of talk on the web and at user groups.  Seemed like a good idea to talk with its creator, Jimmy Bogard, and get the run-down on it. In this code case we have Elegant Coders Chris Brandsma and Richard Cirerol (listen as Chris completely stumbles over Rich’s last name), and we are joined by Cory Isakson.  For those

Read More
Esoterica

Background: JQuery Validator is JQuery plug-in for validating html form fields.  Microsoft has included the JQuery Validator as part of Microsoft’s new CDN, and it looks like JQuery and JQuery Validator will both be included with Asp.Net MVC 2.  You can find Part 1 here. From where we left off, the next thing to do is validate a field via a web service.  AJAX Validation There are actually two ways of validating fields via an

Read More
Esoterica

I got annoyed this week.  We were doing our planning poker (with the cards) when one of my coworkers broke out his IPhone instead.  He had a planning poker app on his freaking IPhone.  I whipped out my Windows Mobile phone and – did nothing.  I grabbed a deck of card and moved on. Afterwards though, I did a couple of quick searches and found nothing.  Near as I can tell there is no Planning

Read More
htmlJavaScriptJQuery

New job (2 weeks in), new responsibilities, new tools to play with.  Amazingly (for me), one of the new tools is the JQuery Validation Library.  My diving into this also coincides with ScottGu’s announcement that Microsoft is creating their own CDN for JQuery and JQuery Validation.  Bad news is that this means I’m behind.  That sucks.  I was using JQuery MONTHS before Microsoft officially started supporting it (at least 6 months – but I’m too

Read More
.Net 3.5C#

OK, on a previous post I had a little bit of code with a ‘var’ statement in it.  Actually, there were a few other items in there, couple of lambdas, lots of nested ‘if’s, etc.   There was a lot of good hand wrangling on how performant the Lambda ‘Where’ function is.  According to the comments, not very performant for very large datasets.  I don’t have a problem with that. But at some point one of

Read More
mobileSQLTools and Utilities

NOTE: this is the same post from a week ago, but now I added in performance times from actual devices. 1. Palm Treo 750 (300 Mhz) 2. Palm Treo Pro (600 Mhz) 3. HP iPAQ hw6945 (416 Mhz) – oldest device First change for the previous listings: cpu is not everything.  The iPAQ has a faster cpu than the  Treo 750, but is slower on most tests (could be memory, or Windows Mobile 5 vs

Read More