Mechanical Engineering Vs. Software Engineering
Mike Taulty has an interesting post up titled Why is Deleting Code so Satisfying? where he compares a plumber and a software developer. (Its a very short post, please go read it I’ll wait).
Now I may have a bit of a unique view on the subject as I’m a developer and my brother is an Mechanical Engineer for Conway & Owen. So please bear with me. Mike’s post asks if a plumber would rip out his work if they found a better way after they already started. The fact that he mentions a plumber, I would speculate, causes most people to think of plumbing a single family home. This type of plumbing is the software development equivalent of FizzBuzz. Which is to say that it takes some skill and understanding to do it correctly but overall its not a difficult problem.
Lucene.Net Analyzer Tool update
I’ve recently been working with lucene.net and one of the things I needed was a custom analyzer. Luckily Andrew Smith has written up two articles about doing just that:
In those articles Andrew provides a nice tool to test lucene’s analyzers. The tool loads the analyzers from the lucene dll and allows you to select from the provided analyzers and see how they process entered text. I’ve made a few minor updates to the code so that it can load analyzers from dll’s selected at runtime, so that you can test them and see their output. You can get the updated project source code here:
Refactoring the ASP.NET MVC project template authentication – Part 3
In part 3 I wanted to clean up a few small details. And once again I’ll be focusing on the server side .net code and saving the client side javascript for another post.
In this post I’ll be making use of the ASP.NET MVC Futures codebase which you can get here.
One of the complaints that is heard about MVC summed up by the following comment over at Los Techies “I’m not ready to start putting clunky C# code in my views, like asp.net MVC is using, feels like legacy asp all over again“. And yes many examples of this coding style exist including the LoginUserControl.ascx in the example MVC project.
Refactoring the ASP.NET MVC project template authentication – Part 2
When we left off last time we had cleaned up the Login action method. Now lets look at the Logout method:
Refactoring the ASP.NET MVC project template authentication
I know this subject has been touched on before, but I can never find the links when I need them. So I decided I would write up my attempt at creating a better implementation of the MVC project template that ships with ASP.NET MVC Beta. I don’t claim any of these ideas were originally mine, if you know of a link to the original content please let me know and I’ll update this article. Now on with the show.