At 11:42 AM 1/31/2001 -0500, Bakki Kudva wrote:
>I just quickly browsed through Chapter 10 (104 pages !!) and it shines
>light on EXACTLY the sort of things I was thinking about. It is like the
>'Design Patterns' & 'Conway book' fused into one. I also downloaded the
>webware apps so I can disect and learn from them. I'll be busy for the
>next few months:)
Thanks. :)
The download link may be old. You might want to go to the extropiaperl
project on SourceForge and get latest code using anonymous CVS.
Also, in the last 2 months we really revamped the architecture to change
from a central control loop to action handlers where a stream of action
objects where the application is defined by the order and process through
which the action handlers get processed. This is similar to the Struts
project for the Java Servlet API on java.apache.org.
It turns out to be a fairly powerful model that has increased our
productivity even more.
> > eg we use CoR in filters that are specific to handling content in our apps.
> > We use (depending on how you view it) CoR or flyweight for dealing with
> > stuff like data handlers (which are essentially filters for *incoming*
> > content)
>
>In addition, Webware will give me some real world apps to look at to get
>a sense of how CoR, flyweight etc are implemented, especially in Perl.
>This is right on the money as far as what I am trying to learn.
That was part of our intention. We didn't really spend a LOT of time on
design patterns, but certainly they had a strong influence.
> >
> > Web apps do operate differently to regular apps and the design patterns or
> > idioms you might wish to use may be different. Since as the GoF book puts
> > it, all patterns have their advantages and also their consequences. Those
> > consequences may be OK for a regular app but not for a web app.
> >
> > There have been tons of articles and books on Design Patterns since GoF
>
>Any specific web design patterns book you would recommend?
If i was back home in the USA I could probably give you quite a few. As it
is, I am afraid that I've just relying on articles here and there in the
last 2 years because I never took my entire library with me when I moved to
London and then to Singapore... I've been traveling more lightweight.
GoF did not introduce Model-View-Controller architecture. But it is
discussed in Wiley's "A System of Patterns: Pattern-Oriented Software
Architecture".
I think Addison-Wesley has a series of books based on the Pattern Languages
symposia over the last many years which gives an overview.
Any article by PJ Plauger I've ever read is pretty good. You can look a lot
of his stuff up by searching the web for his name plus patterns.
Malveau and Mowbray's CORBA Design Patterns is a really good book for
anyone doing distributed programming even if it's not CORBA.
The Pattern Almanac from Addison-Wesley doesn't really describe patterns
all that well but it does provide a lot of references to existing works and
provides very very short but easy to read summaries of many patterns out there.
The cool thing about the Pattern Almanac is that it has a lot of patterns
that are not idomatic to OO but apply to many situations.
For example, it even has a section on "Patterns for Designing in Teams"...
which include Multiple Competing Designs, Decision Document,
Creator-Reviewer, Master-Journeyman, and Ad-Hoc Corrections....
Thanks,
Gunther