What???

*****************
Ken Ferguson
214.636.6126
*****************






Bhasker Konakanchi wrote:
>>> Passing the dsn to the CFC in the create object?? Is this correct or
>>>       
>> should
>>     
>>> I change my ways?
>>>       
>
> I think it depends on your requirements and personal taste.  I have done
> exactly the same thing, but now I also need to pass not just the DSN but
> also the database I'm currently working on.  I chose to create a
> Datasource component and call Datasource.getDSN() and
> Datasource.getDatabase().  This way I only have to pass that as one
> argument and only one place to change if I ever need to.
>
> Rich Kroll
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270407
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to