Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Patterns
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01460935
Message ID:
01460957
Vues:
29
Thanks Kevin. Nice clear explanation.


> I know what I think "Design Pattern" means, but I'd like to hear other opinions.
>
>Kevin, let me give you something from a different angle....
>
>Suppose I need to do something in SSIS - let's say I need to run a job that will scan all four product brands (where there's a brand manager for each one), read all the orders that have been processed since the date of the last job, and send an email to all four managers with summarized sales information (on what's been processed).
>
>I step back and realize that 6 months ago, I had to do something quite similiar in SSIS....and had to go through the learning curve back then, to figure out how to use the SSIS control flow and data flow tasks to solve the issue. But now that I'm wiser than I was six months ago, I recognize that the new problem is one for which a previous approach can be used. So obviously, I'll be much more productive the 2nd time around, because I can take the approach I previously used.
>
>Of course, some tools are better than others in terms of modularity and reusability. Depending on the tool, I may have to "repeat" some code - yes, it can suck, but at least you're still more productive than the first time.
>
>Now, there are "design patterns" that relate to specific products (like the design pattern for SSIS above, which is one generally recognized by SSIS developers), and then there are more general patterns that are independent of any one tool.
>
>But they all have something in common: a reusable approach to future problems where the problems are similar (in part or in full) to the original problem for which the original solution was built. The reusable approach might employ templates, reusable functions, common steps, etc.
>
>Developers use "mini-patterns" all the time...in T-SQL when you need to do a nested TOPCOUNT....in C# when you need to create a factory...in SSRS when you need to deal with variable-length selections, etc.
>
>The biggest key to using patterns? Recognizing right away that the current problem "feels like" a previous problem for which a set of steps led to the answer.
>
>The links that Craig mentioned are good ones. Just wanted to throw this in as well.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform