Tom I think your replies are going to CF-Talk, not the ColdSpring list. On 9/24/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Friday 21 Sep 2007, [EMAIL PROTECTED] wrote: > > As for having to pass init variables, well there is no reason to do that > > within the ShoppingCart cfc anyway and I wouldn't do that, you would > > initialise the taxCalculator elsewhere independantly of the cfc's that > are > > depndant on it, that is just common sense. > > I think that might be the rub right there. > With CS, you don't have to remember to do anything. With autowiring (for > instance) you just write a setThingINeed() method, and CS will sort out > finding and setting up a ThingINeed CFC for you. If you work in a team, or > reuse other projects/peoples components, this is really handy. > > >my config file would make sure they are all loaded in the correct order > >so that any dependencies do not fail, which to me is no different than > >having to create the bean in the coldspring xml config file. > > In the CS world, the order you define them in the config file, and the > details > of the creation order, dependencies etc. are all done for you by the > BeanFactory. This should save you time and work, esp. if your dependencies > change. > > From personal experience, it does take a while before you 'get' it. Maybe > you've not yet had any of the problems it trys to solve... > > -- > Tom Chiverton > Helping to simultaneously brand innovative m-commerce > on: http://thefalken.livejournal.com > > **************************************************** > > This email is sent for and on behalf of Halliwells LLP. > > Halliwells LLP is a limited liability partnership registered in England > and Wales under registered number OC307980 whose registered office address > is at St James's Court Brown Street Manchester M2 2JF. A list of members is > available for inspection at the registered office. Any reference to a > partner in relation to Halliwells LLP means a member of Halliwells LLP. > Regulated by the Law Society. > > CONFIDENTIALITY > > This email is intended only for the use of the addressee named above and > may be confidential or legally privileged. If you are not the addressee you > must not read it and must not use any information contained in nor copy it > nor inform any person other than Halliwells LLP or the addressee of its > existence or contents. If you have received this email in error please > delete it and notify Halliwells LLP IT Department on 0870 365 8008. > > For more information about Halliwells LLP visit www.halliwells.com. > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

