Monthly Archives: September 2007

Another Quick Tip: Asserting view renders in a MonoRail controller test

This is another one of those “blog it so I can remember it” posts. My last post about a similar tip was relating to asserting redirects in a MonoRail controller.  This one deals with asserting which view is being rendered in your … Continue reading 

Posted in castle, monorail, tdd | Leave a comment

Agile Web Development with Rails – Chapter 1

As I mentioned previously, I’m starting to dig into the Ruby language for its elegance and the Rails framework in search of better, more efficient ways to develop web applications.  As part of this learning process, I figured it was essential that … Continue reading 

Posted in books, rails, reviews, ruby | 7 Comments

Courage-Driven Blogging

When wisdom enters your heart, And knowledge is pleasant to your soul, Discretion will preserve you; Understanding will keep you, — Proverbs 2:10-11 One of the reasons I blog and specifically, post code to my blog, is that I really … Continue reading 

Posted in blogging, personal | Leave a comment

Building the often needed anti-corruption layer

The fear of the LORD is the beginning of knowledge, But fools despise wisdom and instruction.  — Proverbs 1:7 “Agile Joe” and I were chatting about the challenges of building on top of existing application platforms, specifically ones like Microsoft … Continue reading 

Posted in commerce server, domain-driven design, monorail, patterns | 4 Comments

The importance of tools to a software craftsman

And I have filled him with the spirit of God, in wisdom, and in understanding, and in knowledge, and in all manner of workmanship — Exodus 31:3 Folks often wonder why I carry my keyboard around with me everywhere there … Continue reading 

Posted in personal, productivity, tools | Leave a comment

Quick Tip: Asserting response redirects in a MonoRail controller test

Reading this post by Sean reminded me of when I first started using the trunk’s BaseControllerTest.  One nifty little property on the base test controller’s mock Response object is RedirectedTo.  So you can do something like this: 1: // some … Continue reading 

Posted in castle, monorail, tdd, web | 1 Comment

Refactoring towards a DRY, fluent interface

But I (Jesus) say to you, love your enemies, bless those who curse you, do good to those who hate you, and pray for those who spitefully use you and persecute you — Matthew 5:44 Problem In my current project, I … Continue reading 

Posted in c#, patterns, refactoring, resharper, tdd | 1 Comment

Change is in the air…

Your word is a lamp to my feet and a light to my path — Psalms 119:105 MonoRail, still my preference for .NET Well during my recent 2 month blogging hiatus I’ve gotten settled into my first project at the … Continue reading 

Posted in castle, monorail, rails, ruby, web | Leave a comment