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]
