Good point Jason!
Thank you

Ronan

2010/9/22 Jason Durham <[email protected]>

> Don't get too wrapped up with the terminology.  Create another component
> that does what you need.. RealEstateListingExporter... instantiate it in
> your Service and pass whatever info it needs.
>
> Pseudo code from ListingService...
> =====================
> function getCSVListings() {
>
>      var qListings = DAO.getListings();
>      var oExporter =
> createObject("component","path.to.RealEstateListingExporter");
>
>      return oExporter.exportListings(qListings);
>
> }
> ====================
>
>
> Jason Durham
>

-- 
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en.

Reply via email to