Skip to content

Category Archives: Technology

Just general comments about technology past, current, and future.

How far behind are Microsoft developer frameworks in terms of design?

23-Oct-09

From the article “Design Patterns 15 Years Later: An Interview with Erich Gamma, Richard Helm, and Ralph Johnson”
 
Erich Gamma: Yes, and it is funny that you mention the iPhone. The iPhone SDK is based on the NeXTStep object-oriented frameworks like the AppKit. It already existed when we wrote Design Patterns 15 years ago and was [...]

Mocks versus stubs and fakes

12-Oct-09

I dislike using mocks I dislike using dynamic mocking/stubbing frameworks. because it means my tests have an extra dependency beyond just the SUT (System Under Test). I often find myself spending more time getting the mock to work correctly rather than my app code. The lambada + generics based Mock suites (Moq, RhinoMocks, etc), [...]

JavaScript: Not for the faint at heart?

13-Aug-09

JavaScript: A tool too sharp?
Script# (Script Sharp) – writing javascript in C#
Both Jimmy and roy have great posts discussing JavaScript. Roy is looking at it as a C# developer lured by the many, many articles about how jQuery is the only thing that makes JavaScript worth using and using Script# to abstract away some of [...]

Review: IronPython in Action

28-May-09

I've always wanted to use Python more but it's difficult because the .NET Framework is such a walled garden in terms of interoperability with other programming languages. Mostly I use it to write little one off scripts when I want to move a bunch of files around or parse some text. I was really excited [...]

Why these jQuery worst practices aren’t.

12-May-09

jQuery ... Worst Practices
In this post, Steve Wellens tries to make the case for two common patterns your run across when using jQuery as "worst practices". Practices that are either superfluous or harmful to your code.
1) Wiring up events using unobtrusive JavaScript.
Instead of wiring up your elements events using jQuery, instead you should set the [...]

ASP.NET MVC Tip – Return specific views for specific errors.

18-Mar-09

Earlier I had said to keep your controllers as thin as possible, that doesn't mean that they should necessarily just be two, or one, lines of code.
Take an instance where you are retrieving items from a web service in your controller. Let's say that you get a 404 error and your service will throw [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes