Design Patterns and Dependency Injection

I just got back from a great ArcSummet event at the local Nashville Microsoft office.

Brian Prince and James Bender presented the following topics…

Session One: Software Patterns by Brian Price
Patterns are an important tool to use as architects and developers. They provide a common vocabulary for us to design with, as well as a common approach to a common problem. Come learn about useful patterns, and how to use them in your everyday code.


Contact Information

Session Two: How I Learned To Love Dependency Injection by James Bender
Dependency Injection is one of those scary topics that most developers avoid. It sounds all ‘high-falootin’ and complex. It’s not. Really. We wouldn’t lie. It’s a great way to manage complexity in your system, and a great way to make your system so much more testable. And isn’t that what we all want?


Contact Information

Read More »

ASP.NET CheckBoxList Align When Wrapping

I have been recently tasked with making a new Theme for a ASP.NET project at work. I was told that I could only update the Theme folder and nothing else (not C#, not JavaScript, not jQuery, etc…).

Part of the requirements for the new theme is that it be friendly to older users (a.k.a. use bigger fonts).

As I made the fonts bigger in the site a lot of text started to wrap in places that it hadn’t before (like the checkboxlists for example).

This is where the ASP.NET CheckBoxList comes into play. When the labels next to the checkboxes gets longer it doesn’t wrap nicely…


Instead, I need the wrapped text to align nicely under the text above next to the checkbox like…


At first, I was like… “Ohh, that shouldn’t be a big deal”, but then I realized I was dealing with a table, tr, td, etc…

I did a quick Google search and found a lot of other people having the same problem, but in all of the cases no one had a solution or the responders of the questions said it wasn’t doable.

So, I thought I would take a stab at it myself. Here is what I came up with which appears to work in IE6, IE7, and Firefox 3. For some reason it doesn’t work in IE8 and Chrome 3 (which does bother me, but I’ll investigate more later).

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

CheckBoxList Align when Wrapping

You are also welcome to view the demo of the above code sample.

Note: If you can fix the code to work in IE8 and Chrome 3 that would be greatly appreciated. If so, please post a comment with your solution!

Read More »

jQuery Resource Collection

I recently started a Google Spreadsheet to include top resources for jQuery such as where to get started, great plugins, helpful tools, useful cheat sheets, quick tutorials, etc… (accessible via the tabs at the bottom of the spreadsheet)

<p>I’ve only just begun to fill out the Spreadsheet, but I have already shown several people and told them I would post it online as a resource for them.</p>    <p>I hope to maintain this list not only for myself, but also to assist those that are looking for good resources. I envision more tabs being created in the near future (such as Unit Testing Frameworks, etc…)</p>     <p><strong>Note</strong>: Make sure to click the tabs at the bottom on the above spreadsheet... like the Tutorials, Plugins, Tools, Cheat Sheets, and whatever else might be there in the near future :)</p> <p>If you have a great resource you would like to recommend to this list, please leave a comment and I will consider adding it.</p>
Read More »

TweetDeck vs. Seesmic

To TweetDeck or not to TweetDeck? That is the question…

Seriously, with the recent release of Twhirl’s big daddy Seesmic, should you abandon TweetDeck and change your loyalties?

Well, there are two main reasons why you may consider changing your twitter client…

  1. Smaller Footprint
  2. Supports Multiple Accounts

For more information

Seesmic Desktop doesn't have TweetDeck's voracious appetite for RAM. At startup it weighed in at about 65Mb and has reached 79Mb after letting it run overnight. Leaving TweetDeck on would typically result in anywhere between 300 and 600Mb of memory consumed. Seesmic also supports multiple Twitter accounts, so it bests TweetDeck beaten on two fronts. --Seesmic Desktop packs TweetDeck's features with a smaller footprint

I’ve been using Seesmic for the past week or so and I’ve found it to be very refreshing. Most of the features from TweetDeck are present in Seesmic and I would imagine in the near future the gap between them will become even closer.

Read More »

Top 5 jQuery Modal Plugins

I’ve been working on a couple of prototype projects over the last month or so and inevitably I end up needing some type of modal dialog to either notify or request information to/from the user.

Historically, I’ve just been  BlockUI man, but I wondered what everyone else in the jQuery community was using for a modal dialog plugin.

So, about a week ago I tweeted a poll from PollDaddy asking what modal plugins you use.

Here are the results of the poll…

<p></p>     <p>As you can see, out of the 15 jQuery Modal plugins that I polled, the community picked the following 5 to be their favorite jQuery Modal Dialog plugin…</p>  <ol><li><a href="">ThickBox</a></li>    <li><a href="">BlockUI</a></li>    <li><a href="">jQuery UI Dialog</a></li>    <li><a href="">jqModal</a></li>    <li><a href="">Facebox</a> </li> </ol>
Read More »