Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Design Patterns for Delphi 2009

I'm looking for design patterns (GOF, but others would be welcome too) for Delphi 2009.

There are some very good and classic articles about Design Patterns in Delphi:

  • http://www.obsof.com/delphi_tips/pattern.html, by James Heyworth (1996)
  • http://blogs.teamb.com/joannacarter/, by Joanna Carter (until 2004)

Additionally, the newer Delphi's have some design patterns built in into the IDE via the model view.

However, none of them seem to make good use of the new features that Delphi has to offer, like generics and anonymous methods. There are C# examples that use generics and anonymous methods, but they can't really be translated 1:1 to Delphi, and I'd like to get some advice from people who've got hands-on experience with these specific features in Delphi.

Are any example available online, or in a book, or can anyone provide some useful examples or tips maybe?

like image 325
Wouter van Nifterick Avatar asked Jun 06 '09 03:06

Wouter van Nifterick


1 Answers

I've got a fairly simple example of a Generic Factory that uses anonymous methods up here

like image 158
Malcolm Groves Avatar answered Oct 15 '22 11:10

Malcolm Groves