Peter Hardy wrote:

> If you're Gateway only includes a GetById() and a GetAll() method is
> it really worth seperating this out into a seperate Gateway component?
> I generally just shove it in my Dao and forget about the distinction.
> I know it probably comes down to personal preference but do you think
> this is a bad habit to get into?
>  
> Cheers, Pete (aka lad4bear)

I think it depends on if your application will be expanded in the
future.  I'd hate to throw everything in a DAO because "it's not much"
and get an enhancement request and go...."I guess it's time to add a
Gateway".  Although I always plan on things changing...

.$02

.pjf

-- 
Peter J. Farrell :: Maestro Publishing

blog    :: http://blog.maestropublishing.com
email   :: [EMAIL PROTECTED]
phone   :: 651-204-0513
________________________________
R O O I B O S  G E N E R A T O R...
Create boilerplate beans and transfer objects for ColdFusion!
Rooibos is free to use at: http://rooibos.maestropublishing.com/
________________________________
Member of Team Mach-II - The next rev is coming...


 404-- Someone who's clueless. (From the World Wide Web error message
"404 Not Found", meaning that the requested document could not be located)

-- 


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to