But from another perspective, it can the just the leap one needs to put the pieces of this puzzle together. If a complex real world example was explained clearly enough, my personal opinion is that it would be very useful. Some beginners might be a little lost, but i think many people would get inspired - "Ah, that's what i can use this for!" New ideas could branch from there.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan F. Hogan Sent: Thursday, July 22, 2004 10:23 PM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Design Patterns or Advanced CF Why are you laughing? This IMO is more complicated than having an example of each pattern as best as possible in CF and leaving it up to the user to use multiple patterns in a single project. Matt Liotta wrote: > I was trying to think through one thing that would apply to a web > application and could implement a bunch of patterns just to tie things > together in people's mind. What I thought of is overly complicated, but > seems like it would work. > > First, create a request dispatcher as part of the front controller pattern. > Have the request dispatcher implement the visitor and observer patterns. A > caching engine would be visited on each request, while a logger would > observe each request. The caching engine would implement the strategy > pattern allowing it to cache in-memory or on-disk. The on-disk strategy > would use the memento pattern to persist cached objects to disk. Each object > needing to be cached would implement the adapter pattern. Further, the > caching engine would decorate each adaptable object with cache meta > information. > > Thoughts? > > /me is laughing ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
