Like this? :P


------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion


"That which does not kill me makes me stranger." - Yonah Schmeidler






On Mar 24, 2006, at 7:28 PM, Chris Scott wrote:

Peter, you gotta use the logo!

Chris

Chris Scott


On Mar 24, 2006, at 8:23 PM, Peter J. Farrell wrote:

Chris Scott said the following on 3/24/2006 7:13 PM:
Instead of changing the type to 'any' for your argument for
setNewsDAO, why don't you make a mock abstract class for your newDAO,
and then have both your newsDAO and newsDAO_XML extend the same class.
Then you can have that base abstract class be the type for your
argument. A good thing to do with interfaces by the way, which of
course ARE coming!

-Chris
I ditto this as well.  I switched to always extending my DAOs and
Gateways with a base class specific to the entity the DAO/Gateway
represents last fall.  This was due to the fact that we use MySQL around
here, there is a possibility of making one of our apps support other DBs.

.Peter

P.s.  Rock on Team Fusion ;-)

-- 
Peter J. Farrell :: Maestro Publishing
Member Team Mach-II :: Member Team Fusion

Create boilerplate beans and transfer objects for ColdFusion!
Fire up a cup of Rooibos!










Reply via email to