Author Archives: Joshua Flanagan

A smarter Rails url_for helper

Problem In my Rails application, I want to be able to determine a URL for any given model, without the calling code having to know the type of the model. Instead of calling post_path(@post) or comment_path(@comment), I want to just … Continue reading 

Posted in conventions, rails, ruby | 10 Comments

Powerfully simple persistence: MongoDB

In my post “Great time to be a developer“, I listed MongoDB as one of the tools that made my task (track travel times for a given route) easy. This post will show you how. What do I need to … Continue reading 

Posted in mongodb, ruby | 3 Comments

Great time to be a developer

I am in awe of the free tools available to software developers today. It is amazing how fast, and cheaply, you can turn an idea into productive code. I was so pumped by a recent experience, I decided to share. … Continue reading 

Posted in heroku, ruby, sinatra | 17 Comments

Coordinating multiple ajax requests with jquery.when

While building a rich JavaScript application, you may get in a situation where you need to make multiple ajax requests, and it doesn’t make sense to work with the results until after all of them have returned. For example, suppose … Continue reading 

Posted in jquery | 11 Comments

Run QUnit tests under Continuous Integration with NQUnit

Almost three years ago, I wrote about Running jQuery QUnit tests under Continuous Integration. As you can imagine, a lot has changed in three years. You would now have a lot of trouble following my post if you use the … Continue reading 

Posted in jquery, qunit, teamcity | Leave a comment

How to use a tool installed by Nuget in your build scripts

My last post covered tips for people creating Nuget packages. This one is important for people consuming Nuget packages. Some Nuget packages include executables in their tools folder. It is very easy to use these tools within Visual Studio because … Continue reading 

Posted in Uncategorized | 2 Comments

Tips for building Nuget packages

  I’ve spent a lot of time over the past couple weeks building and consuming Nuget packages on real projects. I’ve picked up a few tips that, while not mind-blowing, should help you get beyond the simple scenarios you see … Continue reading 

Posted in Uncategorized | 3 Comments

An opportunity for a viable .NET open source ecosystem

I recently started getting to know Microsoft’s Nuget package management tool. I’ll admit I was going into it expecting to be disappointed, still annoyed that it had effectively killed the nu project and marginalized OpenWrap – two projects in the … Continue reading 

Posted in Uncategorized | 2 Comments

Announcing HtmlTags 1.0

I’m pleased to announce the release of version 1.0 of the HtmlTags library. You can add it to your projects today using nuget. > Install-Package HtmlTags HtmlTags provides a simple object model for generating HTML from .NET code. The main … Continue reading 

Posted in fubumvc | 9 Comments

Code samples from my ADNUG talk – Coding with Conventions

A couple people have asked for the code I used during my talk at the Austin .NET User Group last night. The code is on github: https://github.com/joshuaflanagan/adnug_Feb2011 The master branch has the state of the code before I started the … Continue reading 

Posted in Uncategorized | Leave a comment