Here's how I see it, FWIW.

1  The aspect chain collects all of the information that might be
   relevant to a query, and throws it all in a bucket.  That bucket is
   the DRI document.

2  A theme fishes around in the bucket, pulls out all of the
   interesting stuff (according to the theme's designer's
   understanding of what's interesting), and lays it out on the
   final page, embedded in static content.  Anything not interesting
   is just ignored, same as HTML-ish tags that your browser doesn't
   recognize.

3  Stylesheet references (CSS -- I don't think of XSL-T as styling)
   sculpt the detailed appearance of the page when it's rendered.

Look-and-feel is created by steps 2 and 3.

This arrangement makes it easy for different parts of the repository
to present different subsets of the information about a given object.
The aspect chain throws in *everything* and then the selected theme
filters out only what it wants.  If you develop object-specific
information in a theme, the technique has to be copied every time you
want to do that in another theme.  If you do it in the aspect chain,
then every theme immediately has access to the new information and can
use it or not as desired.

Another consideration is that themes are more likely to be specific to
a single site, while aspects are more likely to be generally useful.
This distinction makes it easier to share a cool new feature you've
developed without having to disentangle it from the particular
presentation you use.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.

Attachment: pgp1rPT4DHrZA.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to