Another comment:
Based on your example code:
#application.amazonKit.getASIN('0321127102','webserv-example')#
And looking at how you implement applyXSLT(), it seems this creates tight
coupling with your file system that you might not want. Would it possible
be better to have the methods that get data be separate from the methods
that render that data via XSLT? Perhaps even having two components that
could both be used by your AmazonKit component -- that would create better
encapsulation. Then, you could pass the XSL itself, rather than the name of
a file from a specific directory. You could have a component that, given a
directory path, loop through and loads up the XSL files, then delivers them
keyed by name. Separating them would give me much greater flexibility in
terms of where my XSL comes from instead of having to assume it lives in a
specific directory relative to the AmazonKit CFC.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Cameron Childress
> Sent: Thursday, April 08, 2004 8:49 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] New - Amazon WebService CFC
>
>
> Just finished putting together some materials around a Amazon CFC I built
> some time ago. It handles retrieving XML for any ASIN and then applying a
> number of different XSL Transformations on it, automatically formating the
> result with your Amazon AssociatedID. Caching, etc, all included...
>
> Feedback is welcome:
> http://www.sumoc.com/index.cfm?fuseaction=amazonkit.home
>
> -Cameron
>
> -----------------
> Cameron Childress
> Sumo Consulting Inc.
> http://www.sumoc.com
> ---
> land: 858.509.3098
> cell: 678.637.5072
> aim: cameroncf
> email: [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]
>
----------------------------------------------------------
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]