This post originated from an RSS feed registered with .NET Buzz
by Brendan Tompkins.
Original Post: Refactoring My PDCEntry Service
Feed Title: Brendan Tompkins
Feed URL: /error.htm?aspxerrorpath=/blogs/brendan.tompkins/Rss.aspx
Feed Description: Blog First. Ask Questions Later.
Don't leave "broken windows" (bad designs, wrong decisions, or
poor code) unrepaired. Fix each one as soon as it is discovered. If
there is insufficient time to fix it properly, then board it up.
Perhaps you can comment out the offending code, or display a "Not
Implemented" message, or substitute dummy data instead. Take some
action to prevent further damage and to show that you're on top of the
situation.
The article on âUrban Decayâ he mentions is a must read, a
fascinating topic, and very closely linked with something that should
be called âSoftware Decayâ but is also known as Software Rot. Iâm
going to blog about something Iâve been thinking about
âRoot-Bound Softwareâ and the associated process of âSoftware Weedingâ
soon, but Jeffâs post got me thinking about some potential broken
windows in my my PDC Contest Entry Service.
So as not to let this service (since I expect it to be wildly popular) rot, Iâve done a bit of refactoring. Hereâs what Iâve done:
Refactored the code that does the work into a reusable service, now the service itself is very lean and mean.
Added a REST endpoint, via an ASHX handler. The service can now be access via GET parameters:
Fixed spelling errors, Fixed a queuing bug, and improved formatting.
So, hereâs my new entry. BTW, two people managed to bang the service, before the REST interface was added.. Bil Simser and Leon Langleyben.. Way to go guys!
-Brendan
Iâm Blogân my way to the PDC!
If you havenât heard, Channel9 has started a contest where you can win a ticket to the PDC,
including an airline ticket and hotel! This is one amazing
contest, and all you have to do to enter is have a blog,
and post why you should win the prize. So hereâs my official entry:
Here's some information to help you get to know me better:
Why me?
Why do I want to go to the PDC? Because I love to blog! And I'm
prolific! Here's some of my more popular blog posts links according to
Google :
Did I type up all this ugly HTML for this Blog post myself?
Heck no! Iâm lazy! But thatâs exactly why I need to go
to PDC! The PDC is all about the future, and in the future, weâll
all be using cool technology to do things like typing
tedious, boring contest entries. Iâm getting a head start
on the salad days, so I figured out how to use ASMX
web service that Brendan
wrote! To prove it, you can see that I'm on this list of other, lazy
coders who would rather sit back and use a distributed Web
Service to do their work!