in

This site is all about the amazingly cool stuff you can do with VB.NET.

Architecture and Design with VB.NET

Design Pattern Intro

This week I'll be posting about how to implement design patterns in VB.NET. Before we can look at that though, we need to discuss what a "Design Pattern" really is at its simplest form, and why we'd consider using design patterns.

There's much discussion about "design patterns", and some people might think that patterns are something only high-level architects discuss, or that you have to be x-number of years experienced. The reality is that design patterns aren't complicated and can be utilized by any level of developer. In fact, the only real pre-requisite that you need to have is an understanding of object oriented software development and how ref and value types work in the .NET framework.

So let's start with a definition of what a design pattern is:

"A design pattern is a solution to a problem within a context."

That's it. Simple eh? All a design pattern does is describe a solution to a problem that has been encountered over and over, and where the solution has been shown to work time and time again. The key word of that definition is actually context. You don't just use design patterns "just because"...doing so doesn't make you more technical or more geeky. You use design patterns because you have a specific problem that you need to solve.

Another benefit of design patterns is that object oriented software developers now have the ability to talk in a shared, common language. Regardless if you're using .NET or Java or any other OO language, a pattern is the same across the board (although implementation will obviously differ somewhat, but the overall concept is the same).

So now that we understand what a design pattern is at a high level, my next few posts will be looking at some very well used patterns out in the wild and how you can implement them in your VB.NET applications.

D

Comments

No Comments

About darcy_from_winnipeg

D'Arcy Lussier is an independant solution consultant based out of Winnipeg, Manitoba, Canada. He graduated from Red River College's Information Systems Technology course in 2001, and holds an Microsoft Certified Solution Developer designation. His focus is on web application development, but also has experience developing applications for the Windows desktop and mobile platforms. In addition to his consulting duties, D'Arcy is on the board of the Winnipeg .NET User Group and is an INETA (International .NET Association) Membership Mentor for the Canadian prairies. In January 2008 he was named a Microsoft Most Valuable Professional for Microsoft's web application platform, ASP.NET.
Copyright 2008 - ILoveVB.NET
Powered by Community Server (Commercial Edition), by Telligent Systems