Category Archives: Uncategorized

A New Home For The BrainDonor Network

The BrainDonor Network has a new home in the cloud! I have moved everything from Slicehost to Amazon Web Services. With Rackspace finally pushing through the migration of server images from Slicehost to the Rackspace Cloud, I knew I had the perfect opportunity to switch. Having deployed several client sites to AWS, I also knew I had the comfort level to get everything migrated and set up—so that I could start ignoring it once again.

Read More »

Getting Started with MongoDB

When I first got started with MongoDB in my ASP.NET development I wasn’t able to find as much information as I hoped to on how to get started with MongoDB. All of the core documentation focuses on interacting with the driver and doesn’t give a high-level overview of how to use the driver in an actual project. After getting several projects up and running on MongoDB, I wanted to take a break and provide this much needed guide.

Read More »

jQuery Best Practices Part 2: Chaining

In Part One, I discussed managing the scope of $(document).ready(). Next comes the challenge of organizing the contents of $(document).ready() to balance efficiency and maintainability. My team accomplishes this by taking advantage of the Array behaviors of jQuery to structure our code so that function dictates form. Put into practice, these behaviors will structurally organizing the code without imposing rules and processes—because we all know just how effective rules and processes are.

Read More »

New WordPress Theme

Welcome to the new and improved Braindonor Network. As you can see, I have completely updated the WordPress theme of this site. There are still some rough edges—but I liked the new theme so much that I was not willing to wait until everything was completely polished. The new theme is a combination of the barebones Sandbox theme and Twitter’s Bootstrap.

Read More »

I’ve Joined the NoSQL Movement…How About You?

Leave it to O’Rielly to give a great summary of NoSQL—and express what I have been telling other developers. NoSQL is not a technology. It’s a different way of looking at large data sets and data-driven applications. I have been busy adding NoSQL to my developer’s utility belt lately by introducing MongoDB into the projects that I am building. I have already referenced my BrainDonor.Mongo project in some of my other posts. I like to think of it as my formal announcement that I am a card-carrying member of the NoSQL movement. For me, the movement is about not putting all my data eggs in one basket. When it comes to development languages and platforms, I am a true polyglot programmer—and I must extend that further into data.

Read More »

jQuery Best Practices Part 1: Managing Scope

I’ve been asked by a large number of developers if I know any solid jQuery best practices. The answer is a huge YES! I’m also getting around to changing my answer to their immediate follow-up. Do you have them written down so you can share them with me? In an effort to change my answer to another huge YES, I am starting a series on jQuery Best Practices that will continue until I run out of steam. The first best practice that I have to share is how to properly manage the scope of your jQuery scripts.

Read More »

Integrating Bootstrap Error styling with MVC’s Unobtrusive Error Validation

A common component of many of the websites that I build are small administrative areas where clients are able to perform tasks such as downloading leads or scheduling appointments. Until recently, most of those websites were built to run on top of a content management framework–with the CMS providing most of the back-end interface that I deliver. I started using Twitter’s Bootstrap framework to deliver a consisten look and feel with our ASP.NET MVC3 applications. Bootstrap provided me with a clean CSS grid system, clean controls, and a host of other components. The biggest disconnect between Bootstrap and MVC3 is the unobtrusive validation.

Read More »

Get Chirpy To Play Nice with Twitter’s Bootstrap

I have begun using Twitter’s Bootstrap framework to build administration sites for the MVC apps that I am building. Bootstrap makes it trivial to keep all of the views clean and consistent–without needing to get a graphic designer involved. You can see it in action in the example app for my MongoDB utility project, BrainDonor.Mongo. Unfortunately, the bootstrap source .less files refuse to play nice with Chipry!

Read More »

Visual Studio Fun: Chirpy is Awesome!

Managing the CSS and JavaScript files of a website can be an extremely frustrating, but rewarding experience. I’ve been introducing tools at work to help manage this experience such as SASS, LESS, CoffeeScript, etc, with mixed results. By themselves, each of these tools do a great job, but how to I leverage their power together? Having fifteen JS and CSS includes in a site is still extremely inefficient. Chirpy is a tool that helps to bring all of this together in one plugin in Visual Studio…but I see a lot of people completely missing the most powerful feature of Chirpy: FileGroups.

Read More »

jQuery and ASP UpdatePanel Integration

With my latest gig sending me back into the .NET world, I have been busy migrating quite a few of my tools and experience to play nice with ASP.NET sites. One of my favorite open-source tools that is gaining popularity in .NET is jQuery. For several years now, I have been using jQuery heavily to provide rich interaction on websites. When faced with the basic UpdatePanel in ASP.NET, I was presented with a challenge. I wanted a solution that would automatically call jQuery so that new content was properly parsed and updated. Because I had been managing all the AJAX calls in my other development, this was trivially easy to do. UpdatePanel hides all of this inside the ASP AJAX libraries and scripts—making it difficult to figure out where and how to structure my jQuery code. After some research and experimentation, I have a solution up and running on multiple sites now that integrates everything in a very clean manner.

Read More »