Musings of Geekdom by Eric Newton

tail /var/log/thoughts
posts - 88 , comments - 41 , trackbacks - 68

The Responsibility of Proper Example

I'm seeing a rise of great concepts from my fellow programmers!  However, I'm also seeing a rise of those great concepts being poorly coded, and subsequently get cut-n-pasted into their projects as a base.

Case in point: IBuySpy portal.  Great idea.  Poor implementation.  ASP.Net website uses it too.  Who's idea was it to use a single aspx page for the entire application, and load a user control for the page content?  Did this person ever hear of Web site logging analyzers?  You've essentially negated hundreds of man-years of developement of those analysis programs by going this way... since most of the web log analyzers I've seen don't understand that “default.aspx?pageid=222” is a totally different page from “default.aspx?pageid=333”

I bring up IBuySpy portal because I'm still seeing this implementation regurgitated (re-vomited?) in projects where people are asking questions of “how to analyze the user experience.“

DotNetNuke is in a similar situation.  (as far as I've seen, If I'm wrong, somebody please correct me).  One single master aspx for running the entire app.  You basically have to build a homegrown web site analysis (bad idea...) to understand what your users are hitting and finding value in.

Another case in point: I saw a blog post about impersonation issues during making a web service call in an HttpHandler for asp.net.  The author suggested using the WindowsIdentity.Impersonate but failed to even describe or show code for undoing the impersonation.  This leads to a huge security hole, just waiting to be exploited.  Great idea.  Poor implementation.

We as developers and knowledgable citizens need to be sure that when we see things like this, to chime in and help the fledgling guys “get it right.”  Don't get me wrong: It's great seeing a community that makes suggestions and helps others along.  On the other hand, we as seasoned developers, need to assist these guys in learning the ropes.

Print | posted on Thursday, June 9, 2005 1:37 PM |

Feedback

Comments are closed.
Comments have been closed on this topic.

Powered by: