Should the name of a department be encoded in a namespace?

One thread of discussion going through our internal community is this: should the .Net namespace include the name of the IT team that created it?  There are two camps: Camp 1: Declare the Owners of the Code We have a structure with about ten different IT teams, each assigned to different areas of the Microsoft…

8

Should our next generation of languages require us to declare the applications’ architecture?

As languages ‘improve’ over time, we see a first principle emerge: Move responsibility for many of the ‘good practices’ into the language itself, allowing the language (and therefore the people who use it) to make better and more consistent use of those practices. With assembler, we realized that we needed a variable location to have a…

10

Just how to best describe an interface

We have a pretty good solution for portal code interface in our team.  We’ve been using a home-grown portal for about a half-dozen years and it has grown to be fairly sophisticated.  We have role-based-security, page auth, object auth, data item auth, row level auth, and user attributes.  It’s pretty sophisticated. Now, we have to…

4

Interesting tool for schema-first design

I guess it goes without saying that you cannot communicate in a language unless at least two people are using it.  That was always the problem with Esperanto… interesting to learn, hard to find someone to converse with.  WSDL is kinda like that. One of the four tenants of SOA is that we share contract…

0

Killing the Helper class, part two

Earlier this week, I blogged on the evils of helper classes.  I got a few very thoughful responses, and I wanted to try to address one of them.  It is far easier to do that with a new entry that trying to respond in the messages. If you didn’t read the original post, I evaluated…

17

Are Helper Classes Evil?

First off, a definition: A helper class is a class filled with static methods.  It is usually used to isolate a “useful” algorithm.  I’ve seen them in nearly every bit of code I’ve reviewed.  For the record, I consider the use of helper classes to be an antipattern.  In other words, an extraordinarily bad idea…

25

Whose name is in the namespace?

There’s more than one way to group your code.  Namespaces provide a mechanism for grouping code in a heirarchical tree, but there is precious little discussion about the taxonomy that designers and architects should use when creating namespaces.  This post is my attempt to describe a good starting place for namespace standards. We have a tool:…

2

A Case For and Against the Enterprise Library

I’ve been an architect for a while now, but, as far as being an architect within the walls of Microsoft, today was day one. Already, I’ve run into an interesting issue: when it is better to forgo the code of the Enterprise Library and roll your own, vs. using existing code. Roll your own what? …

16

Atlas = Ajax = asp.net 2.0 script callbacks and more

The marketplace of ideas is an amazing place.  When Microsoft came up with the notion of Remote Scripting (many years ago), the Netscape folks scoffed.  At the time, folks looked at MS and said, “This is a war, and I won’t use a feature from the big bad wolf!”  The notion of asynchronously updating part of…

3

Having a High Bus Factor

A friend of mine pointed out an interesting post by Scott Hanselman that used a clever phrase: “having a High Bus Factor” which is to say: if the original developer of a bit of code is ever hit by a bus, you are toast. The example that Scott gave was a particular regular expression that…

2