Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Pattern question (in hindsight)
Message
De
20/04/1999 01:07:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00209551
Message ID:
00210015
Vues:
43
Hi Markus ---

I see DP as a way to categorize common needs (with maintenance, et al) and not necessarily to blueprint new development. In that respect, I expect a good object model to crossover into several patterns or have several patterns represented in a single object.

Call me a heretic, but I see DP as guidelines for maintaining and enhancing code and not as an end-all, be-all means of architecting solutions.

>> Is it just me, or do you also have a problem reconciling UML-based modelling
>> and basic OOAD with design patterns? I just about gave up on conciously
>> designing code along pattern lines.
>
>Keep in mind that patterns might be very small scale solutions for problems that might in fact be implementation issues. Consider the Template Method pattern, for instance. It might be used at such a small scale that it won't even show up in the model. So this one would be very hard to be mapped to a UML model (other than in very detailed message trace diagrams, I guess...). And I don't think they necessarily should...
>
>But then of course, there are large patterns such as the Strategy pattern or the Mediator pattern. Those will def. show up in the model. In fact, these patterns will be most useful in the model. Applying them at design time might be too late.
>
>Markus
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform